org.jacoco.core.internal.flow
Interface IClassProbesVisitor

All Superinterfaces:
org.objectweb.asm.ClassVisitor
All Known Implementing Classes:
ClassAnalyzer, ClassInstrumenter

public interface IClassProbesVisitor
extends org.objectweb.asm.ClassVisitor

A ClassVisitor with additional methods to get probe insertion information for each method


Method Summary
 IMethodProbesVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
           
 void visitTotalProbeCount(int count)
          Reports the total number of encountered probes.
 
Methods inherited from interface org.objectweb.asm.ClassVisitor
visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitOuterClass, visitSource
 

Method Detail

visitMethod

IMethodProbesVisitor visitMethod(int access,
                                 String name,
                                 String desc,
                                 String signature,
                                 String[] exceptions)
Specified by:
visitMethod in interface org.objectweb.asm.ClassVisitor

visitTotalProbeCount

void visitTotalProbeCount(int count)
Reports the total number of encountered probes. For classes this method is called just before ClassVisitor.visitEnd(). For interfaces this method is called before the first method (the static initializer) is emitted.

Parameters:
count - total number of probes


Copyright © 2009-2011 Mountainminds GmbH & Co. KG. All Rights Reserved.