|
SandMark version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.util.graph.Node | +--sandmark.watermark.ct.trace.callforest.Node
Field Summary | |
static int |
CALL
|
static int |
ENTER
|
static int |
EXIT
|
(package private) StackFrame |
frame
|
(package private) boolean |
isMark
|
(package private) int |
kind
|
static int |
MISSING_int
|
static int |
MISSING_kind
|
static int |
RETURN
|
(package private) int |
weight
|
Fields inherited from class sandmark.util.graph.Node |
number |
Constructor Summary | |
Node(ByteCodeLocation location,
long threadID)
|
|
Node(ByteCodeLocation location,
long threadID,
long frameID)
|
|
Node(ByteCodeLocation location,
long threadID,
long frameID,
int weight)
|
|
Node(ByteCodeLocation location,
long threadID,
long frameID,
int weight,
int kind,
boolean isMark)
|
|
Node(int number,
StackFrame frame,
int weight,
int kind)
|
Method Summary | |
java.lang.Object |
clone()
|
protected java.lang.String |
color()
Return the color of this node. |
Node |
copy()
|
boolean |
equals(java.lang.Object o)
|
protected int |
fontsize()
Return the fontsize of this node. |
long |
frameID()
Return the ID number of the frame represented by this node. |
StackFrame |
getFrame()
Get the stack frame corresponding to this node. |
int |
getKind()
Get the weight of this node. |
MethodID |
getMethod()
Return the method represented by this node. |
int |
getWeight()
Return the weight of this node. |
int |
hashCode()
|
boolean |
isCallNode()
Return true is this is an CALL node. |
boolean |
isEnterNode()
Return true is this is an ENTER node. |
boolean |
isExitNode()
Return true is this is an EXIT node. |
boolean |
isMarkNode()
Return true if this node represents one of the mark()-methods in the annotator class. |
boolean |
isReturnNode()
Return true is this is an RETURN node. |
java.lang.String |
kind2String(int kind)
|
java.lang.String |
kind2StringSmall(int kind)
|
void |
setWeight(int v)
Set the weight of this node. |
protected java.lang.String |
style()
Return the style of this node. |
java.lang.String |
toDot()
Format the node label in the dot format. |
java.lang.String |
toString()
Format the data in an easy to parse form. |
java.lang.String |
toStringDotFormat()
Format the data in a format suitable for dot. |
java.lang.String |
toStringShortFormat()
Format the data in a compact form. |
Methods inherited from class sandmark.util.graph.Node |
main, name, nodeNumber, setNodeNumber, shape, toDot |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int MISSING_int
public static final int MISSING_kind
public static final int ENTER
public static final int EXIT
public static final int CALL
public static final int RETURN
int kind
int weight
StackFrame frame
boolean isMark
Constructor Detail |
public Node(ByteCodeLocation location, long threadID, long frameID, int weight, int kind, boolean isMark)
public Node(int number, StackFrame frame, int weight, int kind)
public Node(ByteCodeLocation location, long threadID, long frameID, int weight)
public Node(ByteCodeLocation location, long threadID)
public Node(ByteCodeLocation location, long threadID, long frameID)
Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class Node
java.lang.CloneNotSupportedException
public Node copy()
public java.lang.String toString()
toString
in class Node
public java.lang.String toStringShortFormat()
public java.lang.String toStringDotFormat()
protected java.lang.String color()
color
in class Node
protected java.lang.String style()
style
in class Node
protected int fontsize()
fontsize
in class Node
public java.lang.String toDot()
toDot
in class Node
public java.lang.String kind2String(int kind)
public java.lang.String kind2StringSmall(int kind)
public MethodID getMethod()
public long frameID()
public boolean isMarkNode()
public int getWeight()
public void setWeight(int v)
public int getKind()
public boolean isEnterNode()
public boolean isExitNode()
public boolean isCallNode()
public boolean isReturnNode()
public StackFrame getFrame()
public boolean equals(java.lang.Object o)
equals
in class Node
public int hashCode()
hashCode
in class Node
|
SandMark version 3.0 Wed Jan 29 10:30:05 MST 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |