|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.asm.MethodAdapter
org.objectweb.asm.commons.LocalVariablesSorter
org.objectweb.asm.commons.RemappingMethodAdapter
A MethodAdapter for type mapping.
| Field Summary | |
protected Remapper |
remapper
|
| Fields inherited from class org.objectweb.asm.commons.LocalVariablesSorter |
firstLocal, nextLocal |
| Fields inherited from class org.objectweb.asm.MethodAdapter |
mv |
| Constructor Summary | |
RemappingMethodAdapter(int access,
String desc,
MethodVisitor mv,
Remapper renamer)
|
|
| Method Summary | |
AnnotationVisitor |
visitAnnotation(String desc,
boolean visible)
Visits an annotation of this method. |
AnnotationVisitor |
visitAnnotationDefault()
Visits the default value of this annotation interface method. |
void |
visitFieldInsn(int opcode,
String owner,
String name,
String desc)
Visits a field instruction. |
void |
visitFrame(int type,
int nLocal,
Object[] local,
int nStack,
Object[] stack)
Visits the current state of the local variables and operand stack elements. |
void |
visitLdcInsn(Object cst)
Visits a LDC instruction. |
void |
visitLocalVariable(String name,
String desc,
String signature,
Label start,
Label end,
int index)
Visits a local variable declaration. |
void |
visitMethodInsn(int opcode,
String owner,
String name,
String desc)
Visits a method instruction. |
void |
visitMultiANewArrayInsn(String desc,
int dims)
Visits a MULTIANEWARRAY instruction. |
AnnotationVisitor |
visitParameterAnnotation(int parameter,
String desc,
boolean visible)
Visits an annotation of a parameter this method. |
void |
visitTryCatchBlock(Label start,
Label end,
Label handler,
String type)
Visits a try catch block. |
void |
visitTypeInsn(int opcode,
String type)
Visits a type instruction. |
| Methods inherited from class org.objectweb.asm.commons.LocalVariablesSorter |
newLocal, newLocalMapping, setLocalType, visitIincInsn, visitMaxs, visitVarInsn |
| Methods inherited from class org.objectweb.asm.MethodAdapter |
visitAttribute, visitCode, visitEnd, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLineNumber, visitLookupSwitchInsn, visitTableSwitchInsn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected final Remapper remapper
| Constructor Detail |
public RemappingMethodAdapter(int access,
String desc,
MethodVisitor mv,
Remapper renamer)
| Method Detail |
public void visitFieldInsn(int opcode,
String owner,
String name,
String desc)
MethodVisitor
visitFieldInsn in interface MethodVisitorvisitFieldInsn in class MethodAdapter
public void visitMethodInsn(int opcode,
String owner,
String name,
String desc)
MethodVisitor
visitMethodInsn in interface MethodVisitorvisitMethodInsn in class MethodAdapter
public void visitTypeInsn(int opcode,
String type)
MethodVisitor
visitTypeInsn in interface MethodVisitorvisitTypeInsn in class MethodAdapterpublic void visitLdcInsn(Object cst)
MethodVisitor
visitLdcInsn in interface MethodVisitorvisitLdcInsn in class MethodAdapter
public void visitMultiANewArrayInsn(String desc,
int dims)
MethodVisitor
visitMultiANewArrayInsn in interface MethodVisitorvisitMultiANewArrayInsn in class MethodAdapter
public void visitTryCatchBlock(Label start,
Label end,
Label handler,
String type)
MethodVisitor
visitTryCatchBlock in interface MethodVisitorvisitTryCatchBlock in class MethodAdapter
public void visitLocalVariable(String name,
String desc,
String signature,
Label start,
Label end,
int index)
MethodVisitor
visitLocalVariable in interface MethodVisitorvisitLocalVariable in class LocalVariablesSorter
public AnnotationVisitor visitAnnotation(String desc,
boolean visible)
MethodVisitor
visitAnnotation in interface MethodVisitorvisitAnnotation in class MethodAdapterpublic AnnotationVisitor visitAnnotationDefault()
MethodVisitor
visitAnnotationDefault in interface MethodVisitorvisitAnnotationDefault in class MethodAdapter
public AnnotationVisitor visitParameterAnnotation(int parameter,
String desc,
boolean visible)
MethodVisitor
visitParameterAnnotation in interface MethodVisitorvisitParameterAnnotation in class MethodAdapter
public void visitFrame(int type,
int nLocal,
Object[] local,
int nStack,
Object[] stack)
MethodVisitorV1_6. Opcodes.F_SAME representing frame with exactly the same
locals as the previous frame and with the empty stack.Opcodes.F_SAME1
representing frame with exactly the same locals as the previous frame and
with single value on the stack (nStack is 1 and
stack[0] contains value for the type of the stack item).Opcodes.F_APPEND representing frame with current locals are
the same as the locals in the previous frame, except that additional
locals are defined (nLocal is 1, 2 or 3 and
local elements contains values representing added types).Opcodes.F_CHOP representing frame with current locals are
the same as the locals in the previous frame, except that the last 1-3
locals are absent and with the empty stack (nLocals is 1,
2 or 3). Opcodes.F_FULL representing complete frame
data.
visitFrame in interface MethodVisitorvisitFrame in class LocalVariablesSorter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||