Package | Description |
---|---|
org.objectweb.asm |
Provides a small and fast bytecode manipulation framework.
|
Modifier and Type | Field and Description |
---|---|
private SymbolTable |
ClassWriter.symbolTable
The symbol table for this class (contains the constant_pool and the BootstrapMethods).
|
private SymbolTable |
ModuleWriter.symbolTable
Where the constants used in this AnnotationWriter must be stored.
|
private SymbolTable |
FieldWriter.symbolTable
Where the constants used in this FieldWriter must be stored.
|
private SymbolTable |
MethodWriter.symbolTable
Where the constants used in this MethodWriter must be stored.
|
private SymbolTable |
AnnotationWriter.symbolTable
Where the constants used in this AnnotationWriter must be stored.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
Attribute.computeAttributesSize(SymbolTable symbolTable)
Returns the total size in bytes of all the attributes in the attribute list that begins with
this attribute.
|
(package private) int |
Attribute.computeAttributesSize(SymbolTable symbolTable,
byte[] code,
int codeLength,
int maxStack,
int maxLocals)
Returns the total size in bytes of all the attributes in the attribute list that begins with
this attribute.
|
(package private) void |
CurrentFrame.execute(int opcode,
int arg,
Symbol symbolArg,
SymbolTable symbolTable)
Sets this CurrentFrame to the input stack map frame of the next "current" instruction, i.e.
|
(package private) void |
Frame.execute(int opcode,
int arg,
Symbol argSymbol,
SymbolTable symbolTable)
Simulates the action of the given instruction on the output stack frame.
|
(package private) static int |
Frame.getAbstractTypeFromApiFormat(SymbolTable symbolTable,
java.lang.Object type)
Returns the abstract type corresponding to the given public API frame element type.
|
private static int |
Frame.getAbstractTypeFromDescriptor(SymbolTable symbolTable,
java.lang.String buffer,
int offset)
Returns the abstract type corresponding to the given type descriptor.
|
(package private) static int |
Frame.getAbstractTypeFromInternalName(SymbolTable symbolTable,
java.lang.String internalName)
Returns the abstract type corresponding to the internal name of a class.
|
private int |
Frame.getInitializedType(SymbolTable symbolTable,
int abstractType)
Returns the "initialized" abstract type corresponding to the given abstract type.
|
(package private) boolean |
Frame.merge(SymbolTable symbolTable,
Frame dstFrame,
int catchTypeIndex)
|
private static boolean |
Frame.merge(SymbolTable symbolTable,
int sourceType,
int[] dstTypes,
int dstIndex)
Merges the type at the given index in the given abstract type array with the given type.
|
private void |
Frame.push(SymbolTable symbolTable,
java.lang.String descriptor)
Pushes the abstract type corresponding to the given descriptor on the output frame stack.
|
(package private) static void |
Frame.putAbstractType(SymbolTable symbolTable,
int abstractType,
ByteVector output)
Put the given abstract type in the given ByteVector, using the JVMS verification_type_info
format used in StackMapTable attributes.
|
(package private) void |
Attribute.putAttributes(SymbolTable symbolTable,
byte[] code,
int codeLength,
int maxStack,
int maxLocals,
ByteVector output)
Puts all the attributes of the attribute list that begins with this attribute, in the given
byte vector.
|
(package private) void |
Attribute.putAttributes(SymbolTable symbolTable,
ByteVector output)
Puts all the attributes of the attribute list that begins with this attribute, in the given
byte vector.
|
(package private) void |
Frame.setInputFrameFromApiFormat(SymbolTable symbolTable,
int numLocal,
java.lang.Object[] local,
int numStack,
java.lang.Object[] stack)
Sets the input frame from the given public API frame description.
|
(package private) void |
Frame.setInputFrameFromDescriptor(SymbolTable symbolTable,
int access,
java.lang.String descriptor,
int maxLocals)
Sets the input frame from the given method description.
|
Constructor and Description |
---|
AnnotationWriter(SymbolTable symbolTable,
boolean useNamedValues,
ByteVector annotation,
AnnotationWriter previousAnnotation)
Constructs a new
AnnotationWriter . |
AnnotationWriter(SymbolTable symbolTable,
ByteVector annotation,
AnnotationWriter previousAnnotation)
Constructs a new
AnnotationWriter using named values. |
FieldWriter(SymbolTable symbolTable,
int access,
java.lang.String name,
java.lang.String descriptor,
java.lang.String signature,
java.lang.Object constantValue)
Constructs a new
FieldWriter . |
MethodWriter(SymbolTable symbolTable,
int access,
java.lang.String name,
java.lang.String descriptor,
java.lang.String signature,
java.lang.String[] exceptions,
int compute)
Constructs a new
MethodWriter . |
ModuleWriter(SymbolTable symbolTable,
int name,
int access,
int version) |