org.jacoco.core.data
Interface IClassStructureVisitor


public interface IClassStructureVisitor

Interface for data output of the internal structure of a single class. This interface is meant to be implemented by parties that want to retrieve data from the instrumentation process.

Version:
$Revision: $
Author:
Marc R. Hoffmann

Method Summary
 void visitEnd()
          Signals the end of this class structure.
 IMethodStructureVisitor visitMethodStructure(int id, String name, String desc, String signature)
          Called for every instrumented method.
 void visitSourceFile(String name)
          The source file name might be reported through this method call.
 

Method Detail

visitSourceFile

void visitSourceFile(String name)
The source file name might be reported through this method call.

Parameters:
name - name of the corresponding source file

visitMethodStructure

IMethodStructureVisitor visitMethodStructure(int id,
                                             String name,
                                             String desc,
                                             String signature)
Called for every instrumented method.

Parameters:
id - identifier of this method within the class
name - name of the method
desc - parameter and return value description
signature - generic signature or null
Returns:
call-back for structure details about the method

visitEnd

void visitEnd()
Signals the end of this class structure.