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 |
ClassVisitor.visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions)
Visits a method of the class.
|
MethodVisitor |
ClassWriter.visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
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 |
RemappingClassAdapter.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 |
StaticInitMerger.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 |
TableSwitchInsnNode.accept(MethodVisitor mv) |
void |
LabelNode.accept(MethodVisitor cv) |
void |
IntInsnNode.accept(MethodVisitor mv) |
void |
LdcInsnNode.accept(MethodVisitor mv) |
void |
LocalVariableNode.accept(MethodVisitor mv)
Makes the given visitor visit this local variable declaration.
|
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 |
JumpInsnNode.accept(MethodVisitor mv) |
void |
TryCatchBlockNode.accept(MethodVisitor mv)
Makes the given visitor visit this try catch block.
|
void |
TypeInsnNode.accept(MethodVisitor mv) |
void |
MethodNode.accept(MethodVisitor mv)
Makes the given method visitor visit this method.
|
abstract void |
AbstractInsnNode.accept(MethodVisitor cv)
Makes the given code visitor visit this instruction.
|
void |
LookupSwitchInsnNode.accept(MethodVisitor mv) |
void |
InvokeDynamicInsnNode.accept(MethodVisitor mv) |
void |
MethodInsnNode.accept(MethodVisitor mv) |
void |
FrameNode.accept(MethodVisitor mv)
Makes the given visitor visit this stack map frame.
|
void |
VarInsnNode.accept(MethodVisitor mv) |
void |
IincInsnNode.accept(MethodVisitor mv) |
void |
LineNumberNode.accept(MethodVisitor mv) |
void |
MultiANewArrayInsnNode.accept(MethodVisitor mv) |
void |
FieldInsnNode.accept(MethodVisitor cv) |
Modifier and Type | Class and Description |
---|---|
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) |
Constructor and Description |
---|
TraceMethodVisitor(MethodVisitor mv,
Printer p) |
Modifier and Type | Class and Description |
---|---|
class |
CollectMethodData
Collects data from a single method.
|
Modifier and Type | Method and Description |
---|---|
MethodVisitor |
CollectClassData.visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
MethodVisitor |
CollectReferencesVisitor.visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
Modifier and Type | Field and Description |
---|---|
protected MethodVisitor |
EmptyVisitor.mv |
Modifier and Type | Method and Description |
---|---|
MethodVisitor |
EmptyVisitor.visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
Modifier and Type | Method and Description |
---|---|
MethodVisitor |
RewriteJsniMethods.visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
MethodVisitor |
RewriteSingleJsoImplDispatches.visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
MethodVisitor |
UseMirroredClasses.visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
Copyright © 2018. All rights reserved.