286287288289290291292293294295296
if (!hasStaticInitialisation) { // Add a static initialisation block for the class since nothing added yet InitClass method = InitClass.getInstance(enhancer); method.initialise(cv); method.execute(); method.close(); } if (!hasDefaultConstructor) {
307308309310311312313314315316317
while (methodsIter.hasNext()) { ASMClassMethod method = (ASMClassMethod)methodsIter.next(); method.initialise(cv); method.execute(); method.close(); } if (Serializable.class.isAssignableFrom(enhancer.cls)) {
339340341342343344345346347348349
} if (!hasWriteObject) { ASMClassMethod method = WriteObject.getInstance(enhancer); method.initialise(cv); method.execute(); method.close(); } } // Add jdoGetXXX, jdoSetXXX for each of the (managed) fields/properties