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 |
ClassAdapter
An empty
ClassVisitor that delegates to another ClassVisitor . |
class |
ClassWriter
A
ClassVisitor that generates classes in bytecode form. |
Modifier and Type | Field and Description |
---|---|
protected ClassVisitor |
ClassAdapter.cv
The
ClassVisitor to which this adapter delegates 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 |
---|
ClassAdapter(ClassVisitor cv)
Constructs a new
ClassAdapter object. |
Modifier and Type | Class and Description |
---|---|
class |
EmptyVisitor
An empty implementation of the ASM visitor interfaces.
|
class |
RemappingClassAdapter
A
ClassAdapter for type remapping. |
class |
SerialVersionUIDAdder
A
ClassAdapter that adds a serial version unique identifier to a
class if missing. |
class |
StaticInitMerger
A
ClassAdapter that merges clinit methods into a single one. |
Constructor and Description |
---|
GeneratorAdapter(int access,
Method method,
String signature,
Type[] exceptions,
ClassVisitor cv)
Creates a new
GeneratorAdapter . |
RemappingClassAdapter(ClassVisitor cv,
Remapper remapper) |
SerialVersionUIDAdder(ClassVisitor cv)
Creates a new
SerialVersionUIDAdder . |
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 |
ClassNode.accept(ClassVisitor cv)
Makes the given class visitor visit this class.
|
void |
InnerClassNode.accept(ClassVisitor cv)
Makes the given class visitor visit this inner class.
|
void |
FieldNode.accept(ClassVisitor cv)
Makes the given class visitor visit this field.
|
void |
MethodNode.accept(ClassVisitor cv)
Makes the given class visitor visit this method.
|
Modifier and Type | Class and Description |
---|---|
class |
ASMifierClassVisitor
A
ClassVisitor that prints the ASM code that generates the classes it
visits. |
class |
CheckClassAdapter
A
ClassAdapter that checks that its methods are properly used. |
class |
TraceClassVisitor
A
ClassVisitor that prints a disassembled view of the classes it
visits. |
Modifier and Type | Field and Description |
---|---|
protected ClassVisitor |
TraceClassVisitor.cv
The
ClassVisitor to which this visitor delegates calls. |
Constructor and Description |
---|
CheckClassAdapter(ClassVisitor cv)
Constructs a new
CheckClassAdapter . |
CheckClassAdapter(ClassVisitor cv,
boolean checkDataFlow)
Constructs a new
CheckClassAdapter . |
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. |