|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.tree.DefaultMutableTreeNode | +--com.bluemarsh.jswat.panel.BasicTreeNode | +--com.bluemarsh.jswat.panel.DbgVar
A DbgVar
is an abstract class that represents a debugger
variable.
ObjectDbgVar
, Serialized FormField Summary | |
protected java.lang.String |
typeName
Type of 'this' variable, e.g. |
protected java.lang.String |
varName
Name of 'this' variable, e.g. |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
protected |
DbgVar(java.lang.String name,
java.lang.String type)
Creates a new DbgVar from a name and type. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order. |
static DbgVar |
create(com.sun.jdi.Field field,
com.sun.jdi.Value val)
Creates a new DbgVar from a Field and a
Value . |
static DbgVar |
create(com.sun.jdi.LocalVariable var,
com.sun.jdi.Value val)
Creates a new DbgVar from a local variable and value. |
static DbgVar |
create(java.lang.String name,
java.lang.String type,
com.sun.jdi.Value val)
Creates a new DbgVar based on name, type name,
and value. |
static DbgVar |
createLoop(com.sun.jdi.Field field,
com.sun.jdi.ObjectReference val)
Creates a DbgVar that, directly or indirectly, refers to itself. |
abstract com.sun.jdi.Value |
getValue()
Retrieve the value this variable represents. |
abstract void |
refresh()
Refreshes the variable. |
Methods inherited from class com.bluemarsh.jswat.panel.BasicTreeNode |
getIcon |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String varName
protected java.lang.String typeName
Constructor Detail |
protected DbgVar(java.lang.String name, java.lang.String type)
DbgVar
from a name and type.name
- the name of the variable.type
- the type of the variable.Method Detail |
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- the Object to be compared.ClassCastException
- if the specified object's type prevents it from
being compared to this Object.public static DbgVar create(com.sun.jdi.LocalVariable var, com.sun.jdi.Value val)
DbgVar
from a local variable and value.var
- the local variable.val
- value of var
.DbgVar
.public static DbgVar create(com.sun.jdi.Field field, com.sun.jdi.Value val)
DbgVar
from a Field
and a
Value
.field
- the field.val
- value of field
.DbgVar
.public static DbgVar createLoop(com.sun.jdi.Field field, com.sun.jdi.ObjectReference val)
field
- the field.val
- value of field.public static DbgVar create(java.lang.String name, java.lang.String type, com.sun.jdi.Value val)
DbgVar
based on name, type name,
and value.name
- name of the variable.type
- type of the variable.val
- value of the variable.DbgVar
.public abstract com.sun.jdi.Value getValue()
public abstract void refresh()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |