org.jacoco.core.internal.flow
Class MethodProbesAdapter
java.lang.Object
org.objectweb.asm.MethodAdapter
org.jacoco.core.internal.flow.MethodProbesAdapter
- All Implemented Interfaces:
- org.objectweb.asm.MethodVisitor
public final class MethodProbesAdapter
- extends org.objectweb.asm.MethodAdapter
Adapter that creates additional visitor events for probes to be inserted into
a method.
| Fields inherited from class org.objectweb.asm.MethodAdapter |
mv |
| Methods inherited from class org.objectweb.asm.MethodAdapter |
visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitIntInsn, visitLdcInsn, visitLineNumber, visitLocalVariable, visitMaxs, visitMethodInsn, visitMultiANewArrayInsn, visitParameterAnnotation, visitTryCatchBlock, visitTypeInsn, visitVarInsn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodProbesAdapter
public MethodProbesAdapter(IMethodProbesVisitor probesVisitor,
IProbeIdGenerator idGenerator)
- Create a new adapter instance.
- Parameters:
probesVisitor - visitor to delegate toidGenerator - generator for unique probe ids
visitLabel
public void visitLabel(org.objectweb.asm.Label label)
- Specified by:
visitLabel in interface org.objectweb.asm.MethodVisitor- Overrides:
visitLabel in class org.objectweb.asm.MethodAdapter
visitInsn
public void visitInsn(int opcode)
- Specified by:
visitInsn in interface org.objectweb.asm.MethodVisitor- Overrides:
visitInsn in class org.objectweb.asm.MethodAdapter
visitJumpInsn
public void visitJumpInsn(int opcode,
org.objectweb.asm.Label label)
- Specified by:
visitJumpInsn in interface org.objectweb.asm.MethodVisitor- Overrides:
visitJumpInsn in class org.objectweb.asm.MethodAdapter
visitLookupSwitchInsn
public void visitLookupSwitchInsn(org.objectweb.asm.Label dflt,
int[] keys,
org.objectweb.asm.Label[] labels)
- Specified by:
visitLookupSwitchInsn in interface org.objectweb.asm.MethodVisitor- Overrides:
visitLookupSwitchInsn in class org.objectweb.asm.MethodAdapter
visitTableSwitchInsn
public void visitTableSwitchInsn(int min,
int max,
org.objectweb.asm.Label dflt,
org.objectweb.asm.Label[] labels)
- Specified by:
visitTableSwitchInsn in interface org.objectweb.asm.MethodVisitor- Overrides:
visitTableSwitchInsn in class org.objectweb.asm.MethodAdapter
Copyright © 2009-2011 Mountainminds GmbH & Co. KG. All Rights Reserved.