| 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 | Field and Description | 
|---|---|
protected MethodVisitor | 
MethodVisitor.mv
The method visitor to which this visitor must delegate method calls. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodVisitor | 
ClassWriter.visitMethod(int access,
           String name,
           String desc,
           String signature,
           String[] exceptions)  | 
MethodVisitor | 
ClassVisitor.visitMethod(int access,
           String name,
           String desc,
           String signature,
           String[] exceptions)
Visits a method of the class. 
 | 
| Constructor and Description | 
|---|
MethodVisitor(int api,
             MethodVisitor mv)
Constructs a new  
MethodVisitor. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AdviceAdapter
A  
MethodVisitor to insert before, after and around
 advices in methods and constructors. | 
class  | 
AnalyzerAdapter
A  
MethodVisitor that keeps track of stack map frame changes between
 visitFrame calls. | 
class  | 
CodeSizeEvaluator
A  
MethodVisitor that can be used to approximate method size. | 
class  | 
GeneratorAdapter
A  
MethodVisitor with convenient methods to generate
 code. | 
class  | 
InstructionAdapter
A  
MethodVisitor providing a more detailed API to generate and
 transform instructions. | 
class  | 
JSRInlinerAdapter
A  
MethodVisitor that removes JSR instructions and
 inlines the referenced subroutines. | 
class  | 
LocalVariablesSorter
A  
MethodVisitor that renumbers local variables in their order of
 appearance. | 
class  | 
RemappingMethodAdapter
A  
LocalVariablesSorter for type mapping. | 
class  | 
TryCatchBlockSorter
A  
MethodVisitor adapter to sort the exception handlers. | 
| Modifier and Type | Method and Description | 
|---|---|
protected MethodVisitor | 
RemappingClassAdapter.createRemappingMethodAdapter(int access,
                            String newDesc,
                            MethodVisitor mv)  | 
MethodVisitor | 
StaticInitMerger.visitMethod(int access,
           String name,
           String desc,
           String signature,
           String[] exceptions)  | 
MethodVisitor | 
SerialVersionUIDAdder.visitMethod(int access,
           String name,
           String desc,
           String signature,
           String[] exceptions)  | 
MethodVisitor | 
RemappingClassAdapter.visitMethod(int access,
           String name,
           String desc,
           String signature,
           String[] exceptions)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected MethodVisitor | 
RemappingClassAdapter.createRemappingMethodAdapter(int access,
                            String newDesc,
                            MethodVisitor mv)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MethodNode
A node that represents a method. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodVisitor | 
ClassNode.visitMethod(int access,
           String name,
           String desc,
           String signature,
           String[] exceptions)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
VarInsnNode.accept(MethodVisitor mv)  | 
void | 
TypeInsnNode.accept(MethodVisitor mv)  | 
void | 
TryCatchBlockNode.accept(MethodVisitor mv)
Makes the given visitor visit this try catch block. 
 | 
void | 
TableSwitchInsnNode.accept(MethodVisitor mv)  | 
void | 
ParameterNode.accept(MethodVisitor mv)
Makes the given visitor visit this parameter declaration. 
 | 
void | 
MultiANewArrayInsnNode.accept(MethodVisitor mv)  | 
void | 
MethodNode.accept(MethodVisitor mv)
Makes the given method visitor visit this method. 
 | 
void | 
MethodInsnNode.accept(MethodVisitor mv)  | 
void | 
LookupSwitchInsnNode.accept(MethodVisitor mv)  | 
void | 
LocalVariableNode.accept(MethodVisitor mv)
Makes the given visitor visit this local variable declaration. 
 | 
void | 
LineNumberNode.accept(MethodVisitor mv)  | 
void | 
LdcInsnNode.accept(MethodVisitor mv)  | 
void | 
LabelNode.accept(MethodVisitor cv)  | 
void | 
JumpInsnNode.accept(MethodVisitor mv)  | 
void | 
InvokeDynamicInsnNode.accept(MethodVisitor mv)  | 
void | 
IntInsnNode.accept(MethodVisitor mv)  | 
void | 
InsnNode.accept(MethodVisitor mv)
Makes the given visitor visit this instruction. 
 | 
void | 
InsnList.accept(MethodVisitor mv)
Makes the given visitor visit all of the instructions in this list. 
 | 
void | 
IincInsnNode.accept(MethodVisitor mv)  | 
void | 
FrameNode.accept(MethodVisitor mv)
Makes the given visitor visit this stack map frame. 
 | 
void | 
FieldInsnNode.accept(MethodVisitor mv)  | 
abstract void | 
AbstractInsnNode.accept(MethodVisitor cv)
Makes the given code visitor visit this instruction. 
 | 
void | 
LocalVariableAnnotationNode.accept(MethodVisitor mv,
      boolean visible)
Makes the given visitor visit this type annotation. 
 | 
protected void | 
AbstractInsnNode.acceptAnnotations(MethodVisitor mv)
Makes the given visitor visit the annotations of this instruction. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CheckMethodAdapter
A  
MethodVisitor that checks that its methods are properly used. | 
class  | 
TraceMethodVisitor
A  
MethodVisitor that prints the methods it visits with a
 Printer. | 
| Modifier and Type | Method and Description | 
|---|---|
MethodVisitor | 
TraceClassVisitor.visitMethod(int access,
           String name,
           String desc,
           String signature,
           String[] exceptions)  | 
MethodVisitor | 
CheckClassAdapter.visitMethod(int access,
           String name,
           String desc,
           String signature,
           String[] exceptions)  | 
| Constructor and Description | 
|---|
CheckMethodAdapter(int api,
                  MethodVisitor mv,
                  Map<Label,Integer> labels)
Constructs a new  
CheckMethodAdapter object. | 
CheckMethodAdapter(int access,
                  String name,
                  String desc,
                  MethodVisitor cmv,
                  Map<Label,Integer> labels)
Constructs a new  
CheckMethodAdapter object. | 
CheckMethodAdapter(MethodVisitor mv)
Constructs a new  
CheckMethodAdapter object. | 
CheckMethodAdapter(MethodVisitor mv,
                  Map<Label,Integer> labels)
Constructs a new  
CheckMethodAdapter object. | 
TraceMethodVisitor(MethodVisitor mv,
                  Printer p)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
SAXCodeAdapter
A  
MethodVisitor that generates SAX 2.0 events from the visited
 method. | 
| Modifier and Type | Method and Description | 
|---|---|
protected MethodVisitor | 
ASMContentHandler.Rule.getCodeVisitor()  | 
MethodVisitor | 
SAXClassAdapter.visitMethod(int access,
           String name,
           String desc,
           String signature,
           String[] exceptions)  |