if (type.getSuperClass() != null) {
JMethod myClinit = type.getClinitMethod();
JMethod superClinit = type.getSuperClass().getClinitMethod();
JMethodCall superClinitCall = new JMethodCall(myClinit.getSourceInfo(), null, superClinit);
JMethodBody body = (JMethodBody) myClinit.getBody();
body.getBlock().addStmt(0, superClinitCall.makeStatement());
}
// Implement getClass() implementation for all non-Object classes.
if (isSyntheticGetClassNeeded(x, type)) {
implementGetClass(type);