Generated by
JDiff

Class org.objectweb.asm.ClassWriter

Documentation changed from old to new.

Removed Constructors
ClassWriter(boolean) Constructs a new ClassWriter object.
ClassWriter(boolean, boolean) Constructs a new ClassWriter object.
 

Added Constructors
ClassWriter(int) Constructs a new ClassWriter object.
ClassWriter(ClassReader, int) Constructs a new ClassWriter object and enables optimizations for "mostly add" bytecode transformations.
 

Removed Methods
int newConstDouble(double)  
int newConstFloat(float)  
int newConstInt(int)  
int newConstLong(long)  
 

Added Methods
String getCommonSuperClass(String, String) Returns the common super type of the two given types.
AnnotationVisitor visitAnnotation(String, boolean)  
void visitOuterClass(String, String, String)  
void visitSource(String, String)  
 

Changed Methods
int newClass(String) Documentation changed from old to new.
Adds a class reference to the constant pool of the class being build.
int newConst(Object) Documentation changed from old to new.
Adds a number or string constant to the constant pool of the class being build.
int newField(String, String, String) Documentation changed from old to new.
Adds a field reference to the constant pool of the class being build.
int newMethod(String, String, String, boolean) Documentation changed from old to new.
Adds a method reference to the constant pool of the class being build.
int newNameType(String, String) Documentation changed from old to new.
Adds a name and type to the constant pool of the class being build.
int newUTF8(String) Documentation changed from old to new.
Adds an UTF8 string to the constant pool of the class being build.
byte[] toByteArray() Documentation changed from old to new.
Returns the bytecode of the class that was build with this class writer.
void visit(int, int, String, String, String, String[]) Change in signature from (int, int, String, String, String[], String) to (int, int, String, String, String, String[]).
 
FieldVisitor visitField(int, String, String, String, Object) Change in return type from void to FieldVisitor.
Change in signature from (int, String, String, Object, Attribute) to (int, String, String, String, Object).
 
MethodVisitor visitMethod(int, String, String, String, String[]) Change in return type from CodeVisitor to MethodVisitor.
Change in signature from (int, String, String, String[], Attribute) to (int, String, String, String, String[]).
 
 

Added Fields
int COMPUTE_FRAMES Flag to automatically compute the stack map frames of methods from scratch.
int COMPUTE_MAXS Flag to automatically compute the maximum stack size and the maximum number of local variables of methods.