GeneratorAdapter methodAdapter = new GeneratorAdapter(ACC_PUBLIC, m, null, null, cv);
// loadthis
methodAdapter.loadThis();
// if we have java.* as a supertype call that zero args constructor
if (superclassBinaryName.startsWith("java.") || superclassBinaryName.startsWith("javax.")) {
methodAdapter.invokeConstructor(Type.getType(superclassClass), new Method("<init>",
Type.VOID_TYPE, NO_ARGS));
}
// otherwise invoke the java.lang.Object no args constructor
else {
methodAdapter.invokeConstructor(OBJECT_TYPE, new Method("<init>", Type.VOID_TYPE, NO_ARGS));