public final class MethodItem
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
protected static class |
Item.ItemMetadata |
| 限定符和类型 | 字段和说明 |
|---|---|
protected int[] |
m_aggregates |
protected IItem |
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| 构造器和说明 |
|---|
MethodItem(IItem parent,
int ID,
java.lang.String name,
java.lang.String descriptor,
int firstLine) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accept(IItemVisitor visitor,
java.lang.Object ctx) |
protected void |
addChild(IItem item) |
int |
getAggregate(int type) |
IItemAttribute |
getAttribute(int attributeID,
int unitsID) |
int |
getChildCount() |
java.util.Iterator |
getChildren() |
java.util.Iterator |
getChildren(ItemComparator order) |
int |
getFirstLine() |
int |
getID() |
IItemMetadata |
getMetadata() |
java.lang.String |
getName() |
IItem |
getParent() |
static IItemMetadata |
getTypeMetadata() |
protected final IItem m_parent
protected final int[] m_aggregates
public MethodItem(IItem parent, int ID, java.lang.String name, java.lang.String descriptor, int firstLine)
public java.lang.String getName()
public int getID()
public int getFirstLine()
public int getAggregate(int type)
getAggregate 在接口中 IItempublic void accept(IItemVisitor visitor, java.lang.Object ctx)
public final IItemMetadata getMetadata()
public static IItemMetadata getTypeMetadata()
public final int getChildCount()
getChildCount 在接口中 IItempublic final java.util.Iterator getChildren()
getChildren 在接口中 IItempublic final java.util.Iterator getChildren(ItemComparator order)
getChildren 在接口中 IItemorder - [null is equivalent to no sort]public final IItemAttribute getAttribute(int attributeID, int unitsID)
getAttribute 在接口中 IItemprotected void addChild(IItem item)
Copyright © 2018. All Rights Reserved.