|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICoverageNode
Interface for hierarchical coverage data nodes with different coverage counters.
Nested Class Summary | |
---|---|
static class |
ICoverageNode.CounterEntity
Parameter type for generic counter access. |
static class |
ICoverageNode.ElementType
Type of a Java element represented by a ICoverageNode instance. |
Method Summary | |
---|---|
ICounter |
getBlockCounter()
Returns the counter for blocks. |
ICounter |
getClassCounter()
Returns the counter for classes. |
ICounter |
getCounter(ICoverageNode.CounterEntity entity)
Generic access to the the counters. |
ICoverageNode.ElementType |
getElementType()
Returns the type of element represented by this node. |
ICounter |
getInstructionCounter()
Returns the counter for byte code instructions. |
ICounter |
getLineCounter()
Returns the counter for lines. |
ILines |
getLines()
Returns the line coverage information if this node represents a source file or a part of a source file. |
ICounter |
getMethodCounter()
Returns the counter for methods. |
String |
getName()
Returns the name of this node. |
ICoverageNode |
getPlainCopy()
Creates a plain copy of this node. |
Method Detail |
---|
ICoverageNode.ElementType getElementType()
String getName()
ICounter getInstructionCounter()
ICounter getBlockCounter()
ICounter getLineCounter()
ICounter getMethodCounter()
ICounter getClassCounter()
ICounter getCounter(ICoverageNode.CounterEntity entity)
entity
- entity we're we want to have the counter for
ILines getLines()
null
ICoverageNode getPlainCopy()
ICoverageNode
implementations may contain heavy data structures, the copy returned by
this method is reduced to the counters only. This helps tp save memory
while processing huge structures.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |