A node that represents a bytecode instruction.
Makes the given class visitor visit this class.
Makes the given class visitor visit this field.
Makes the given class visitor visit this inner class.
Makes the given class visitor visit this method.
Makes the given visitor visit the Java class of this
ClassReader
.
Makes the given visitor visit the Java class of this
ClassReader
.
Makes the given code visitor visit this instruction.
Makes the given code visitor visit this instruction.
Makes the given code visitor visit this instruction.
Makes the given code visitor visit this instruction.
Makes the given code visitor visit this instruction.
Makes the given code visitor visit this instruction.
Makes the given code visitor visit this line number declaration.
Makes the given code visitor visit this local variable declaration.
Makes the given code visitor visit this instruction.
Makes the given code visitor visit this instruction.
Makes the given code visitor visit this instruction.
Makes the given code visitor visit this try catch block.
Makes the given code visitor visit this instruction.
The access flags of the inner class as originally declared in the enclosing
class.
Analyzes the given method.
A semantic bytecode analyzer.
Thrown if a problem occurs during the analysis of a method.
Annotation data contains an annotated type and its array of the element-value
pairs.
The AnnotationDefault attribute is a variable length attribute in the
attributes table of certain method_info structures, namely those representing
elements of annotation types.
ARRAY - static field in class org.objectweb.asm.
Type The sort of array reference types.
An attribute that can print the ASM code to create an equivalent attribute.
Prints the ASM code to create an attribute equal to this attribute.
Prints the ASM code to create an attribute equal to this attribute.
Prints the ASM code to create an attribute equal to this attribute.
Prints the ASM code to create an attribute equal to this attribute.
Prints the ASM code to create an attribute equal to this attribute.
Prints the ASM code to create an attribute equal to this attribute.
A non standard class, field, method or code attribute.
Constructs a new empty attribute.
Provides static utility methods for attributes.
The non standard attributes of the class.
The non standard attributes of the field.
The non standard attributes of the method.
CHAR - static field in class org.objectweb.asm.
Type The sort of the char type.
A
ClassAdapter
that checks that its methods are properly
used.
A
CodeAdapter
that checks that its methods are properly
used.
A node that represents a class.
A tree representation of the class that is being visited by this visitor.
A Java class parser to make a
ClassVisitor
visit an
existing class.
A visitor to visit a Java class.
Clears the operand stack of this frame.
The non standard attributes of the method's code.
A visitor to visit the bytecode instructions of a Java method.
A
CodeVisitor
that generates Java bytecode instructions.
true if the maximum stack size and number of local variables must
be automatically computed.
Defines the JVM opcodes, access flags and array type codes.
Interprets a bytecode instruction that moves a value on the stack or to or
from local variables.
Interprets a bytecode instruction that moves a value on the stack or to or
from local variables.
The constant to be loaded on the stack.
Current instance of the
ClassWriter
used to write class bytecode.
List
of Object[]{name, value}
pairs.
The EnclosingMethod attribute is an optional fixed-length attribute in
the attributes table of the ClassFile structure.
The last instruction corresponding to the scope of this local variable
(exclusive).
End of the exception handler's scope (exclusive).
Process notification of the end of a document and write generated bytecode
into output stream.
Process notification of the end of an XML element being reached.
Container class used to store enum_const_value structure.
Tests if the given object is equal to this type.
Compares this value with the given value.
Compares this value with the given value.
The internal names of the method's exception classes (see
getInternalName
).
Returns the Java types corresponding to the argument types of the given
method.
Returns the Java types corresponding to the argument types of the given
method descriptor.
Returns the name of the class corresponding to this type.
Returns the current bytecode of this method.
Returns the current size of the bytecode of this method.
Returns an instance of each
Attribute
class defined in this
package.
Returns the descriptor corresponding to this Java type.
Returns the descriptor corresponding to the given Java type.
Returns the number of dimensions of this array type.
Returns the type of the elements of this array type.
Returns the symbolic stack frame for each instruction of the last recently
analyzed method.
Returns the exception handlers for the given instruction.
Returns the index of the given instruction.
Returns the internal name of the class corresponding to this object type.
Returns the internal name of the given class.
Returns the start index of the constant pool item in
b
, plus
one.
Returns the labels corresponding to this attribute.
Returns the labels corresponding to this attribute.
Returns the value of the given local variable.
Returns the maximum number of local variables of this frame.
Returns the descriptor corresponding to the given method.
Returns the descriptor corresponding to the given argument and return
types.
Returns the offset corresponding to this label.
Returns the opcode of this instruction.
Returns a JVM instruction opcode adapted to this Java type.
Returns the Java type corresponding to the return type of the given
method.
Returns the Java type corresponding to the return type of the given
method descriptor.
Returns the size of this value in words.
Returns the size of values of this type.
Returns the size of this value in words.
Returns the sort of this Java type.
Returns the value of the given operand stack slot.
Returns the number of values in the operand stack of this frame.
Returns the code printed by this code visitor.
Returns the Java type corresponding to the given class.
Returns the Java type corresponding to the given type descriptor.
A node that represents an IINC instruction.
Amount to increment the local variable by.
The local variable's index.
Initializes this CodeWriter to define the bytecode of the specified method.
Copies the state of the given frame into this frame.
Informations about the inner classes of this class.
A node that represents an inner class.
The (simple) name of the inner class inside its enclosing class.
A node that represents a zero operand instruction.
The instructions that can produce this value.
The instructions of this method.
INT - static field in class org.objectweb.asm.
Type The sort of the int type.
A semantic bytecode interpreter.
A node that represents an instruction with a single int operand.
Returns true if this type of attribute is unknown.
The operand of this instruction.
A label represents a position in the bytecode of a method.
Map of the active
Label
instances for current method.
Beginnings of the handler blocks.
Beginnings of the handler blocks.
A node that represents an LDC instruction.
A node that represents a line number declaration.
The line numbers of this method.
A node that represents a local variable declaration.
The local variables of this method.
The LocalVariableTypeTable attribute is an optional variable-length attribute of a Code
attribute.
LONG - static field in class org.objectweb.asm.
Type The sort of the long type.
A node that represents a LOOKUPSWITCH instruction.
Prints the ASM source code to generate the given class to the standard
output.
Prints a disassembled view of the given class to the standard output.
The maximum number of local variables of this method.
The maximum stack size of this method.
Merges this frame with the given frame (case of a RET instruction).
Merges this frame with the given frame.
A node that represents a method instruction.
A node that represents a method.
A tree representation of the method that is being visited by this visitor.
The methods of this class.
A node that represents a MULTIANEWARRAY instruction.
Current instance of the
CodeVisitor
used to write method bytecode
The name of a local variable.
Interprets a bytecode instruction with a variable number of arguments.
Interprets a bytecode instruction with a variable number of arguments.
Adds a class reference to the constant pool of the class being build.
Adds a number or string constant to the constant pool of the class being
build.
Creates a control flow graph edge.
Adds a field reference to the constant pool of the class being build.
Constructs a new frame with the given size.
Constructs a new frame that is identical to the given frame.
Adds a method reference to the constant pool of the class being build.
Adds a name and type to the constant pool of the class being build.
Interprets a bytecode instruction without arguments.
Interprets a bytecode instruction without arguments.
Adds an UTF8 string to the constant pool of the class being build.
Creates a new value that represents the given type.
Creates a new value that represents the given type.
The next attribute in this attribute list.
OBJECT - static field in class org.objectweb.asm.
Type The sort of object reference type.
The opcode of this instruction.
The names of the Java Virtual Machine opcodes.
The operand of this instruction.
Provides a small and fast bytecode manipulation framework.
Provides an implementation for various optional class, field, method and bytecode
attributes.
Provides an ASM class adapter that constructs a tree representation of the
classes it visits.
Provides a framework for static code analysis based on the asm.tree package.
Provides some ASM class visitors that can be useful for programming and
debugging purposes.
Provides attributes sub classes that can work with the ASMifier utility.
Provides
SAX 2.0 adapters for ASM
visitors that can be used to convert bytecode to and from XML.
Output stream to write result bytecode.
The internal name of the class to which the inner class belongs (see
getInternalName
).
List
of List
s that
contains Annotation
for each method parameter.
List
of List
s that
contains Annotation
for each method parameter.
pop() - method in class org.objectweb.asm.tree.analysis.
Frame Pops a value from the operand stack of this frame.
Prints a non standard code attribute.
Prints a non standard code attribute.
Prints a non standard code attribute.
An abstract class visitor that prints the classes it visits.
An abstract code visitor that prints the code it visits.
Prints a field instruction.
Prints a field instruction.
Prints a field instruction.
Prints an IINC instruction.
Prints an IINC instruction.
Prints an IINC instruction.
Prints a zero operand instruction.
Prints a zero operand instruction.
Prints a zero operand instruction.
Prints an instruction with a single int operand.
Prints an instruction with a single int operand.
Prints an instruction with a single int operand.
Prints a jump instruction.
Prints a jump instruction.
Prints a jump instruction.
Prints a LDC instruction.
Prints a LDC instruction.
Prints a LDC instruction.
Prints a line number declaration.
Prints a line number declaration.
Prints a line number declaration.
Prints a local variable declaration.
Prints a local variable declaration.
Prints a local variable declaration.
Prints a LOOKUPSWITCH instruction.
Prints a LOOKUPSWITCH instruction.
Prints a LOOKUPSWITCH instruction.
Prints the maximum stack size and the maximum number of local variables of
the method.
Prints the maximum stack size and the maximum number of local variables of
the method.
Prints the maximum stack size and the maximum number of local variables of
the method.
Prints a method instruction.
Prints a method instruction.
Prints a method instruction.
Prints a MULTIANEWARRAY instruction.
Prints a MULTIANEWARRAY instruction.
Prints a MULTIANEWARRAY instruction.
Prints a TABLESWITCH instruction.
Prints a TABLESWITCH instruction.
Prints a TABLESWITCH instruction.
Prints a try catch block.
Prints a try catch block.
Prints a try catch block.
Prints a type instruction.
Prints a type instruction.
Prints a type instruction.
Prints a local variable instruction.
Prints a local variable instruction.
Prints a local variable instruction.
Processor is a command line tool that can be used for
bytecode waving directed by XSL transformation.
Pushes a value into the operand stack of this frame.
Puts a byte into this byte vector.
Puts an array of bytes into this byte vector.
Puts an int into this byte vector.
Puts a long into this byte vector.
Puts a short into this byte vector.
Puts an UTF8 string into this byte vector.
The print writer to be used to print the class.
Reads annotation data structures.
Utility method to read List of annotations.
Reads a class constant pool item in
b
.
Reads a numeric or string constant pool item in
b
.
Reads a signed int value in
b
.
Reads a signed long value in
b
.
Utility method to read List of parameters annotations.
Reads a signed short value in
b
.
Reads an unsigned short value in
b
.
Reads an UTF8 string constant pool item in
b
.
Reads element_value data structures.
Resizes the designated instructions, while keeping jump offsets and
instruction addresses consistent.
The RuntimeInvisibleAnnotations attribute is similar to the
RuntimeVisibleAnnotations attribute, except that the annotations represented by
a RuntimeInvisibleAnnotations attribute must not be made available for return
by reflective APIs, unless the JVM has been instructed to retain these
annotations via some implementation-specific mechanism such as a command line
flag.
The RuntimeInvisibleParameterAnnotations attribute is similar to the
RuntimeVisibleParameterAnnotations attribute, except that the annotations
represented by a RuntimeInvisibleParameterAnnotations attribute must not be
made available for return by reflective APIs, unless the JVM has specifically
been instructed to retain these annotations via some implementation-specific
mechanism such as a command line flag.
The RuntimeVisibleAnnotations attribute is a variable length attribute in the
attributes table of the ClassFile, field_info, and method_info structures.
The RuntimeVisibleParameterAnnotations attribute is a variable length attribute
in the attributes table of the method_info structure.
A
ClassVisitor
that generates SAX 2.0
events from the visited class.
A
CodeVisitor
that generates SAX 2.0
events from the visited code.
Sets the value of the given local variable.
Sets the opcode of this instruction.
Sets the opcode of this instruction.
Sets the opcode of this instruction.
Sets the opcode of this instruction.
Sets the opcode of this instruction.
Sets the opcode of this instruction.
Sets the opcode of this instruction.
SHORT - static field in class org.objectweb.asm.
Type The sort of the short type.
The Signature Attribute introduced in JSR-14 (Adding Generics to the
Java Programming Language) and also defined in the Java Virtual Machine
Specification, 3rd edition draft.
Constructs a new empty attribute.
An extended
BasicVerifier
that performs more precise verifications.
The SourceDebugExtension attribute is an optional attribute defined in JSR-045
in the attributes table of the ClassFile structure.
Constructs a new empty attribute.
The name of the source file from which this class was compiled.
StackMapAttribute is used by CDLC preverifier and also by javac compiller
starting from J2SE 1.5.
StackMapFrame is used by
StackMapAttribute
to hold state of the stack
and local variables for a single execution branch.
The first instruction corresponding to this line number.
The first instruction corresponding to the scope of this local variable
(inclusive).
Beginning of the exception handler's scope (inclusive).
Process notification of the start of an XML element being reached.
Returns annotation values in the format described in JSR-175 for Java
source code.
Returns parameter annotation values in the format described in JSR-175
for Java source code.
A node that represents a TABLESWITCH instruction.
Interprets a bytecode instruction with three arguments.
Interprets a bytecode instruction with three arguments.
Returns the bytecode of the class that was build with underneath class writer.
Returns the bytecode of the class that was build with this class writer.
Returns value in the format described in JSR-175 for Java source code.
Returns value in the format described in JSR-175 for Java source code.
Returns a string representation of this frame.
Returns a string representation of this label.
Returns value in the format described in JSR-175 for Java source code.
Returns value in the format described in JSR-175 for Java source code.
Returns a string representation of this type.
A
ClassAdapter
that constructs a tree representation of
the classes it vists.
A
CodeAdapter
that constructs a tree representation of
the methods it vists.
A node that represents a try catch block.
The try catch blocks of this method.
A fully qualified class name in internal form (see
Type
).
The type of this attribute.
Internal name of the type of exceptions handled by the handler.
A node that represents a type instruction.
The field's initial value.
Value - interface org.objectweb.asm.tree.analysis.
Value An immutable symbolic value for semantic interpretation of bytecode.
Index of the local variable to be incremented.
The operand of this instruction.
A node that represents a local variable instruction.
Visits a local variable instruction.
Visits the header of the class.
Visits a non standard attribute of the class.
Visits a non standard attribute of the code.
Visits the end of the class.
Visits a field of the class.
Visits a field instruction.
Visits an IINC instruction.
Visits information about an inner class.
Visits a zero operand instruction.
Visits an instruction with a single int operand.
Visits a jump instruction.
Visits a LDC instruction.
Visits a line number declaration.
Visits a local variable declaration.
Visits a LOOKUPSWITCH instruction.
Visits the maximum stack size and the maximum number of local variables of
the method.
Visits a method of the class.
Visits a method instruction.
Visits a MULTIANEWARRAY instruction.
Visits a TABLESWITCH instruction.
Visits a try catch block.
Visits a type instruction.
Visits a local variable instruction.
VOID - static field in class org.objectweb.asm.
Type The sort of the void type.