Example usage for Java org.objectweb.asm ClassWriter fields, constructors, methods, implement or subclass
The text is from its open source code.
int | COMPUTE_MAXS A flag to automatically compute the maximum stack size and the maximum number of local variables of methods. |
int | COMPUTE_FRAMES A flag to automatically compute the stack map frames of methods from scratch. |
ClassWriter(final int flags) Constructs a new ClassWriter object. | |
ClassWriter(final ClassReader classReader, final int flags) Constructs a new ClassWriter object and enables optimizations for "mostly add" bytecode transformations. |