232233234235236237238239240241242
getterMethod, cw ); cw.visitEnd(); return cw.toByteArray(); } private byte[] dumpWriter(final Class< ? > originalClass, final String className, final Method getterMethod,
261262263264265266267268269270271
fieldType, cw ); cw.visitEnd(); return cw.toByteArray(); } /** * Builds the class header *
216217218219220221222223224225226
245246247248249250251252253254255
130131132133134135136137138139140
} if (staticInitializer != null) { staticInitializer.write(this, cw); } cw.visitEnd(); bytecode = cw.toByteArray(); if (DUMP_GENERATED_CLASSES) { dumpGeneratedClass(bytecode); } } return bytecode;
9596979899100101102103104105
this.buildToString( cw, edef ); cw.visitEnd(); byte[] serializedClass = cw.toByteArray(); return serializedClass; }
235236237238239240241242243244245
264265266267268269270271272273274
8182838485868788899091
cw.visitEnd(); } catch ( Exception e ) { e.printStackTrace(); } return cw.toByteArray(); } protected void init( ClassDefinition classDef ) { }
118119120121122123124125126127128