if (type.getSuperClass() != null) {
JMethod myClinit = type.getMethods().get(0);
JMethod superClinit = type.getSuperClass().getMethods().get(0);
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 (type.getSuperClass() != null && !JSORestrictionsChecker.isJsoSubclass(x.binding)) {
implementGetClass(type);