public class Variable extends ALSBDebuggerObject implements IVariable
MODEL_ID
Constructor and Description |
---|
Variable(StackFrame frame, java.lang.String modelID, java.lang.String name, java.lang.String type, boolean immutable)
constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
equals
|
StackFrame |
frame()
retruns the parent stack frame
|
IValue |
getValue()
returns the value of this variable
|
int |
hashCode()
hashCode
|
boolean |
immutable()
returns whether it is immutable
|
java.lang.String |
modelID()
returns the identifier of the debug model
|
java.lang.String |
name()
returns the name of this variable
|
void |
setValue(IValue value)
sets a new value for this variable.
|
java.lang.String |
toString()
to string
|
java.lang.String |
type()
returns the type of this variable
|
debugger, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
debugger
public Variable(StackFrame frame, java.lang.String modelID, java.lang.String name, java.lang.String type, boolean immutable)
public java.lang.String modelID()
modelID
in interface IModelExtension
public java.lang.String name()
public java.lang.String type()
public StackFrame frame()
public boolean immutable()
public IValue getValue() throws InvalidStackFrameException, InvalidValueException
getValue
in interface IVariable
InvalidStackFrameException
- - if this variable has become invalid.InvalidValueException
- - if the value could not be parsed into a known valuepublic void setValue(IValue value) throws InvalidStackFrameException, VariableImmutableException, InvalidValueException
setValue
in interface IVariable
VariableImmutableException
- - if this variable is immutable.InvalidStackFrameException
- - if this variable has become invalid.InvalidValueException
- - if the value could not be serializedpublic java.lang.String toString()
toString
in interface IALSBDebuggerObject
toString
in class java.lang.Object
public int hashCode()
hashCode
in class ALSBDebuggerObject
public boolean equals(java.lang.Object obj)
equals
in class ALSBDebuggerObject