org.jacoco.core.data
Interface IMethodStructureVisitor


public interface IMethodStructureVisitor

Interface for data output of the internal structure of a single method. 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 block(int id, int instructionCount, int[] lineNumbers)
          Called for every block within the method.
 void visitEnd()
          Signals the end of this method structure.
 

Method Detail

block

void block(int id,
           int instructionCount,
           int[] lineNumbers)
Called for every block within the method.

Parameters:
id - identifier of the block within the method
instructionCount - number of byte code instructions within this block
lineNumbers - list of source lines corresponding to this block

visitEnd

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