private static final class IItemAttribute.Factory.NameAttribute extends IItemAttribute.Factory.Attribute implements IItemAttribute
Modifier and Type | Class and Description |
---|---|
private static class |
IItemAttribute.Factory.NameAttribute.NameComparator |
IItemAttribute.Factory
Modifier and Type | Field and Description |
---|---|
private java.util.Comparator |
m_comparator |
ATTRIBUTE_BLOCK_COVERAGE_ID, ATTRIBUTE_CLASS_COVERAGE_ID, ATTRIBUTE_LINE_COVERAGE_ID, ATTRIBUTE_METHOD_COVERAGE_ID, ATTRIBUTE_NAME_ID, UNITS_COUNT, UNITS_INSTR
Constructor and Description |
---|
NameAttribute(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator |
comparator() |
void |
format(IItem item,
java.lang.StringBuffer appendTo) |
boolean |
passes(IItem item,
int criterion) |
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public java.util.Comparator comparator()
comparator
in interface IItemAttribute
public void format(IItem item, java.lang.StringBuffer appendTo)
format
in interface IItemAttribute
public boolean passes(IItem item, int criterion)
passes
in interface IItemAttribute