|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacoco.core.analysis.CoverageNodeImpl
org.jacoco.core.analysis.ClassCoverage
public class ClassCoverage
Coverage data of a single class.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jacoco.core.analysis.ICoverageNode |
---|
ICoverageNode.CounterEntity, ICoverageNode.ElementType |
Field Summary |
---|
Fields inherited from class org.jacoco.core.analysis.CoverageNodeImpl |
---|
blockCounter, classCounter, instructionCounter, lineCounter, lines, methodCounter |
Constructor Summary | |
---|---|
ClassCoverage(String name,
long id,
String signature,
String superName,
String[] interfaces,
String sourceFileName,
Collection<MethodCoverage> methods)
Creates a class coverage data object with the given parameters. |
Method Summary | |
---|---|
long |
getId()
Returns the identifier for this class which is the CRC64 signature of the class definition. |
String[] |
getInterfaceNames()
Returns the VM names of implemented/extended interfaces |
Collection<MethodCoverage> |
getMethods()
Returns the methods included in this class. |
String |
getPackageName()
Returns the VM name of the package this class belongs to. |
String |
getSignature()
Returns the VM signature of the class. |
String |
getSourceFileName()
Returns the optional name of the corresponding source file. |
String |
getSuperName()
Returns the VM name of the superclass. |
Methods inherited from class org.jacoco.core.analysis.CoverageNodeImpl |
---|
getBlockCounter, getClassCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getLines, getMethodCounter, getName, getPlainCopy, increment, increment, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassCoverage(String name, long id, String signature, String superName, String[] interfaces, String sourceFileName, Collection<MethodCoverage> methods)
name
- vm name of the classid
- class identifiersignature
- vm signature of the classsuperName
- vm name of the superclass of this classinterfaces
- vm names of interfaces of this classsourceFileName
- optional name of the corresponding source filemethods
- contained methodsMethod Detail |
---|
public long getId()
public String getSignature()
null
)public String getSuperName()
null
, i.e.
java/lang/Object
)public String[] getInterfaceNames()
public String getPackageName()
public String getSourceFileName()
public Collection<MethodCoverage> getMethods()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |