- <init>
Constructs a new ClassWriter object and enables optimizations for "mostly add"
bytecode transformati
- toByteArray
Returns the bytecode of the class that was build with this class writer.
- visitEnd
- visitMethod
- addType
Adds the given Item to #typeTable.
- addUninitializedType
Adds the given "uninitialized" type to #typeTable and returns its index. This
method is used for UNI
- get
Returns the constant pool's hash table item which is equal to the given item.
- getCommonSuperClass
Returns the common super type of the two given types. The default implementation
of this method load
- getMergedType
Returns the index of the common super type of the two given types. This method
calls #getCommonSuper
- newClass
Adds a class reference to the constant pool of the class being build. Does
nothing if the constant p
- newClassItem
Adds a class reference to the constant pool of the class being build. Does
nothing if the constant p
- newConst
Adds a number or string constant to the constant pool of the class being build.
Does nothing if the