| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.objectweb.asm.MethodAdapterorg.objectweb.asm.commons.CodeSizeEvaluatorMethodAdapter that can be used to approximate method size.
Field Summary |
Fields inherited from class org.objectweb.asm.MethodAdapter | |
mv | |
Constructor Summary | |
| |
Method Summary | |
int | |
int | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.objectweb.asm.MethodAdapter | |
visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMultiANewArrayInsn, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn | |
public CodeSizeEvaluator(MethodVisitor mv)
Constructs a newMethodAdapterobject.
- Parameters:
mv- the code visitor to which this adapter must delegate calls.
public int getMaxSize()
public int getMinSize()
public void visitFieldInsn(int opcode,
String owner,
String name,
String desc)
- Specified by:
- visitFieldInsn in interface MethodVisitor
- Overrides:
- visitFieldInsn in interface MethodAdapter
public void visitIincInsn(int var,
int increment)
- Specified by:
- visitIincInsn in interface MethodVisitor
- Overrides:
- visitIincInsn in interface MethodAdapter
public void visitInsn(int opcode)
- Specified by:
- visitInsn in interface MethodVisitor
- Overrides:
- visitInsn in interface MethodAdapter
public void visitIntInsn(int opcode,
int operand)
- Specified by:
- visitIntInsn in interface MethodVisitor
- Overrides:
- visitIntInsn in interface MethodAdapter
public void visitJumpInsn(int opcode,
Label label)
- Specified by:
- visitJumpInsn in interface MethodVisitor
- Overrides:
- visitJumpInsn in interface MethodAdapter
public void visitLdcInsn(Object cst)
- Specified by:
- visitLdcInsn in interface MethodVisitor
- Overrides:
- visitLdcInsn in interface MethodAdapter
public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
- Specified by:
- visitLookupSwitchInsn in interface MethodVisitor
- Overrides:
- visitLookupSwitchInsn in interface MethodAdapter
public void visitMethodInsn(int opcode,
String owner,
String name,
String desc)
- Specified by:
- visitMethodInsn in interface MethodVisitor
- Overrides:
- visitMethodInsn in interface MethodAdapter
public void visitMultiANewArrayInsn(String desc,
int dims)
- Specified by:
- visitMultiANewArrayInsn in interface MethodVisitor
- Overrides:
- visitMultiANewArrayInsn in interface MethodAdapter
public void visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels)
- Specified by:
- visitTableSwitchInsn in interface MethodVisitor
- Overrides:
- visitTableSwitchInsn in interface MethodAdapter
public void visitTypeInsn(int opcode,
String type)
- Specified by:
- visitTypeInsn in interface MethodVisitor
- Overrides:
- visitTypeInsn in interface MethodAdapter
public void visitVarInsn(int opcode,
int var)
- Specified by:
- visitVarInsn in interface MethodVisitor
- Overrides:
- visitVarInsn in interface MethodAdapter