Item.ItemMetadata
Modifier and Type | Field and Description |
---|---|
(package private) ClassDescriptor |
m_cls |
(package private) boolean[][] |
m_coverage |
private int |
m_firstLine |
private static Item.ItemMetadata |
METADATA |
m_aggregates, m_parent
COVERAGE_BLOCK_COUNT, COVERAGE_BLOCK_INSTR, COVERAGE_CLASS_COUNT, COVERAGE_LINE_COUNT, COVERAGE_LINE_INSTR, COVERAGE_METHOD_COUNT, NUM_OF_AGGREGATES, PRECISION, TOTAL_BLOCK_COUNT, TOTAL_BLOCK_INSTR, TOTAL_CLASS_COUNT, TOTAL_LINE_COUNT, TOTAL_METHOD_COUNT, TOTAL_SRCFILE_COUNT
Constructor and Description |
---|
ClassItem(IItem parent,
ClassDescriptor cls,
boolean[][] coverage) |
Modifier and Type | Method and Description |
---|---|
void |
accept(IItemVisitor visitor,
java.lang.Object ctx) |
int |
getAggregate(int type) |
ClassDescriptor |
getClassDescriptor() |
boolean[][] |
getCoverage() |
int |
getFirstLine() |
IItemMetadata |
getMetadata() |
java.lang.String |
getName() |
java.lang.String |
getSrcFileName() |
static IItemMetadata |
getTypeMetadata() |
boolean |
loaded() |
addChild, getAttribute, getChildCount, getChildren, getChildren, getParent
final ClassDescriptor m_cls
final boolean[][] m_coverage
private int m_firstLine
private static final Item.ItemMetadata METADATA
public ClassItem(IItem parent, ClassDescriptor cls, boolean[][] coverage)
public java.lang.String getName()
public java.lang.String getSrcFileName()
public int getFirstLine()
public ClassDescriptor getClassDescriptor()
public boolean[][] getCoverage()
public boolean loaded()
public int getAggregate(int type)
getAggregate
in interface IItem
getAggregate
in class Item
public void accept(IItemVisitor visitor, java.lang.Object ctx)
public final IItemMetadata getMetadata()
public static IItemMetadata getTypeMetadata()