Package | Description |
---|---|
org.objectweb.asm |
Provides a small and fast bytecode manipulation framework.
|
org.objectweb.asm.commons |
Provides some useful class and method adapters.
|
org.objectweb.asm.tree |
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
|
org.objectweb.asm.util |
Provides ASM visitors that can be useful for programming and
debugging purposes.
|
org.objectweb.asm.xml |
Provides SAX 2.0 adapters for ASM
visitors to convert classes to and from XML.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassWriter
A
ClassVisitor that generates classes in bytecode form. |
Modifier and Type | Field and Description |
---|---|
protected ClassVisitor |
ClassVisitor.cv
The class visitor to which this visitor must delegate method calls.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassReader.accept(ClassVisitor classVisitor,
Attribute[] attrs,
int flags)
Makes the given visitor visit the Java class of this
ClassReader . |
void |
ClassReader.accept(ClassVisitor classVisitor,
int flags)
Makes the given visitor visit the Java class of this
ClassReader
. |
Constructor and Description |
---|
ClassVisitor(int api,
ClassVisitor cv)
Constructs a new
ClassVisitor . |
Modifier and Type | Class and Description |
---|---|
class |
ClassRemapper
A
ClassVisitor for type remapping. |
class |
RemappingClassAdapter
Deprecated.
use
ClassRemapper instead. |
class |
SerialVersionUIDAdder
A
ClassVisitor that adds a serial version unique identifier to a
class if missing. |
class |
StaticInitMerger
A
ClassVisitor that merges clinit methods into a single one. |
Constructor and Description |
---|
ClassRemapper(ClassVisitor cv,
Remapper remapper) |
ClassRemapper(int api,
ClassVisitor cv,
Remapper remapper) |
GeneratorAdapter(int access,
Method method,
String signature,
Type[] exceptions,
ClassVisitor cv)
Creates a new
GeneratorAdapter . |
RemappingClassAdapter(ClassVisitor cv,
Remapper remapper)
Deprecated.
|
RemappingClassAdapter(int api,
ClassVisitor cv,
Remapper remapper)
Deprecated.
|
SerialVersionUIDAdder(ClassVisitor cv)
Creates a new
SerialVersionUIDAdder . |
SerialVersionUIDAdder(int api,
ClassVisitor cv)
Creates a new
SerialVersionUIDAdder . |
StaticInitMerger(int api,
String prefix,
ClassVisitor cv) |
StaticInitMerger(String prefix,
ClassVisitor cv) |
Modifier and Type | Class and Description |
---|---|
class |
ClassNode
A node that represents a class.
|
Modifier and Type | Method and Description |
---|---|
void |
MethodNode.accept(ClassVisitor cv)
Makes the given class visitor visit this method.
|
void |
FieldNode.accept(ClassVisitor cv)
Makes the given class visitor visit this field.
|
void |
InnerClassNode.accept(ClassVisitor cv)
Makes the given class visitor visit this inner class.
|
void |
ClassNode.accept(ClassVisitor cv)
Makes the given class visitor visit this class.
|
Modifier and Type | Class and Description |
---|---|
class |
CheckClassAdapter
A
ClassVisitor that checks that its methods are properly used. |
class |
TraceClassVisitor
A
ClassVisitor that prints the classes it visits with a
Printer . |
Constructor and Description |
---|
CheckClassAdapter(ClassVisitor cv)
Constructs a new
CheckClassAdapter . |
CheckClassAdapter(ClassVisitor cv,
boolean checkDataFlow)
Constructs a new
CheckClassAdapter . |
CheckClassAdapter(int api,
ClassVisitor cv,
boolean checkDataFlow)
Constructs a new
CheckClassAdapter . |
TraceClassVisitor(ClassVisitor cv,
Printer p,
PrintWriter pw)
Constructs a new
TraceClassVisitor . |
TraceClassVisitor(ClassVisitor cv,
PrintWriter pw)
Constructs a new
TraceClassVisitor . |
Modifier and Type | Class and Description |
---|---|
class |
SAXClassAdapter
A
ClassVisitor that generates SAX 2.0
events from the visited class. |
Modifier and Type | Field and Description |
---|---|
protected ClassVisitor |
ASMContentHandler.cv
Current instance of the
ClassVisitor used to visit
classfile bytecode. |
Constructor and Description |
---|
ASMContentHandler(ClassVisitor cv)
Constructs a new
ASMContentHandler object. |