Package | Description |
---|---|
org.eclipse.sisu.space.asm |
Modifier and Type | Class and Description |
---|---|
(package private) class |
MethodWriter
A
MethodVisitor that generates methods in bytecode form. |
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,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions) |
MethodVisitor |
ClassVisitor.visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions)
Visits a method of the class.
|
Modifier and Type | Method and Description |
---|---|
private void |
ClassReader.readCode(MethodVisitor mv,
Context context,
int u)
Reads the bytecode of a method and makes the given visitor visit it.
|
private void |
ClassReader.readParameterAnnotations(MethodVisitor mv,
Context context,
int v,
boolean visible)
Reads parameter annotations and makes the given visitor visit them.
|
private int[] |
ClassReader.readTypeAnnotations(MethodVisitor mv,
Context context,
int u,
boolean visible)
Parses a type annotation table to find the labels, and to visit the try
catch block annotations.
|
Constructor and Description |
---|
MethodVisitor(int api,
MethodVisitor mv)
Constructs a new
MethodVisitor . |