Class ClassTracer.MonitoredMethodEnhancer
java.lang.Object
org.objectweb.asm.MethodVisitor
org.glassfish.pfl.tf.tools.enhancer.ClassTracer.MonitoredMethodEnhancer
- Enclosing class:
ClassTracer
private class ClassTracer.MonitoredMethodEnhancer
extends org.objectweb.asm.MethodVisitor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.objectweb.asm.tree.LocalVariableNode
private org.objectweb.asm.tree.LocalVariableNode
private org.objectweb.asm.tree.LocalVariableNode
private final int
private final org.objectweb.asm.Label
private final org.objectweb.asm.tree.LabelNode
private final String
private final org.objectweb.asm.Label
private final org.objectweb.asm.tree.LabelNode
private final org.objectweb.asm.Label
private final org.objectweb.asm.tree.LabelNode
private final int
private final org.objectweb.asm.MethodVisitor
private org.objectweb.asm.commons.LocalVariablesSorter
private final String
private final org.objectweb.asm.Label
private final org.objectweb.asm.tree.LabelNode
Fields inherited from class org.objectweb.asm.MethodVisitor
api, mv
-
Constructor Summary
ConstructorsConstructorDescriptionMonitoredMethodEnhancer
(int access, String name, String desc, org.objectweb.asm.MethodVisitor mv) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
emitExceptionReport
(int excIndex) private void
void
setLocalVariablesSorter
(org.objectweb.asm.commons.LocalVariablesSorter lvs) void
void
visitFieldInsn
(int opcode, String owner, String name, String desc) void
visitIincInsn
(int var, int increment) void
visitInsn
(int opcode) void
visitIntInsn
(int opcode, int operand) void
visitJumpInsn
(int opcode, org.objectweb.asm.Label label) void
visitLdcInsn
(Object cst) void
visitLookupSwitchInsn
(org.objectweb.asm.Label dflt, int[] keys, org.objectweb.asm.Label[] labels) void
visitMaxs
(int maxStack, int maxLocals) void
visitMethodInsn
(int opcode, String owner, String name, String desc) void
visitMultiANewArrayInsn
(String desc, int dims) void
visitTableSwitchInsn
(int min, int max, org.objectweb.asm.Label dflt, org.objectweb.asm.Label[] labels) void
visitTypeInsn
(int opcode, String type) void
visitVarInsn
(int opcode, int var) Methods inherited from class org.objectweb.asm.MethodVisitor
getDelegate, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitEnd, visitFrame, visitInsnAnnotation, visitInvokeDynamicInsn, visitLabel, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitMethodInsn, visitParameter, visitParameterAnnotation, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation
-
Field Details
-
access
private final int access -
name
-
desc
-
lmv
private final org.objectweb.asm.MethodVisitor lmv -
identVal
private final int identVal -
returnOpcodes
-
start
private final org.objectweb.asm.Label start -
startNode
private final org.objectweb.asm.tree.LabelNode startNode -
excHandler
private final org.objectweb.asm.Label excHandler -
excHandlerNode
private final org.objectweb.asm.tree.LabelNode excHandlerNode -
end
private final org.objectweb.asm.Label end -
endNode
private final org.objectweb.asm.tree.LabelNode endNode -
afterExcStore
private final org.objectweb.asm.Label afterExcStore -
afterExcStoreNode
private final org.objectweb.asm.tree.LabelNode afterExcStoreNode -
lvs
private org.objectweb.asm.commons.LocalVariablesSorter lvs -
__result
private org.objectweb.asm.tree.LocalVariableNode __result -
__mm
private org.objectweb.asm.tree.LocalVariableNode __mm -
__exc
private org.objectweb.asm.tree.LocalVariableNode __exc
-
-
Constructor Details
-
MonitoredMethodEnhancer
-
-
Method Details
-
setLocalVariablesSorter
public void setLocalVariablesSorter(org.objectweb.asm.commons.LocalVariablesSorter lvs) -
visitCode
public void visitCode()- Overrides:
visitCode
in classorg.objectweb.asm.MethodVisitor
-
emitExceptionReport
private void emitExceptionReport(int excIndex) -
emitFinally
private void emitFinally() -
visitInsn
public void visitInsn(int opcode) - Overrides:
visitInsn
in classorg.objectweb.asm.MethodVisitor
-
visitMethodInsn
- Overrides:
visitMethodInsn
in classorg.objectweb.asm.MethodVisitor
-
visitMaxs
public void visitMaxs(int maxStack, int maxLocals) - Overrides:
visitMaxs
in classorg.objectweb.asm.MethodVisitor
-
visitIntInsn
public void visitIntInsn(int opcode, int operand) - Overrides:
visitIntInsn
in classorg.objectweb.asm.MethodVisitor
-
visitVarInsn
public void visitVarInsn(int opcode, int var) - Overrides:
visitVarInsn
in classorg.objectweb.asm.MethodVisitor
-
visitTypeInsn
- Overrides:
visitTypeInsn
in classorg.objectweb.asm.MethodVisitor
-
visitFieldInsn
- Overrides:
visitFieldInsn
in classorg.objectweb.asm.MethodVisitor
-
visitJumpInsn
public void visitJumpInsn(int opcode, org.objectweb.asm.Label label) - Overrides:
visitJumpInsn
in classorg.objectweb.asm.MethodVisitor
-
visitLdcInsn
- Overrides:
visitLdcInsn
in classorg.objectweb.asm.MethodVisitor
-
visitIincInsn
public void visitIincInsn(int var, int increment) - Overrides:
visitIincInsn
in classorg.objectweb.asm.MethodVisitor
-
visitTableSwitchInsn
public void visitTableSwitchInsn(int min, int max, org.objectweb.asm.Label dflt, org.objectweb.asm.Label[] labels) - Overrides:
visitTableSwitchInsn
in classorg.objectweb.asm.MethodVisitor
-
visitLookupSwitchInsn
public void visitLookupSwitchInsn(org.objectweb.asm.Label dflt, int[] keys, org.objectweb.asm.Label[] labels) - Overrides:
visitLookupSwitchInsn
in classorg.objectweb.asm.MethodVisitor
-
visitMultiANewArrayInsn
- Overrides:
visitMultiANewArrayInsn
in classorg.objectweb.asm.MethodVisitor
-