com.jcoverage.coverage
Interface InstrumentationInternal

All Superinterfaces:
Instrumentation, java.io.Serializable
All Known Implementing Classes:
InstrumentationImpl

interface InstrumentationInternal
extends Instrumentation

This is an internal interface used only by instrumentation. When a class is first instrumented by instrumentation certain information is serialized to disk (e.g., the valid source line numbers, the source file name, the line numbers by method, the line number of each conditional branch and its target for each method, and the method name and signature of each method found in the instrumented class.


Field Summary
 
Fields inherited from interface com.jcoverage.coverage.Instrumentation
FILE_NAME
 
Method Summary
 void setConditionalsByMethod(java.util.Map conditionalsByMethod)
           
 void setMethodNamesAndSignatures(java.util.Set methodNamesAndSignatures)
           
 void setSourceFileName(java.lang.String sourceFileName)
           
 void setSourceLineNumbers(java.util.Set sourceLineNumbers)
           
 void setSourceLineNumbersByMethod(java.util.Map sourceLineNumbersByMethod)
           
 
Methods inherited from interface com.jcoverage.coverage.Instrumentation
getBranchCoverageRate, getBranchCoverageRate, getCoverage, getCoverage, getLineCoverageRate, getLineCoverageRate, getMethodNamesAndSignatures, getSourceFileName, getSourceLineNumbers, merge, touch
 

Method Detail

setSourceLineNumbers

public void setSourceLineNumbers(java.util.Set sourceLineNumbers)
Parameters:
sourceLineNumbers - the set of valid source line numbers.

setSourceFileName

public void setSourceFileName(java.lang.String sourceFileName)
Parameters:
sourceFileName - the source file name.

setSourceLineNumbersByMethod

public void setSourceLineNumbersByMethod(java.util.Map sourceLineNumbersByMethod)

setConditionalsByMethod

public void setConditionalsByMethod(java.util.Map conditionalsByMethod)

setMethodNamesAndSignatures

public void setMethodNamesAndSignatures(java.util.Set methodNamesAndSignatures)