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, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitdebuggerpublic 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 IModelExtensionpublic java.lang.String name()
public java.lang.String type()
public StackFrame frame()
public boolean immutable()
public IValue getValue() throws InvalidStackFrameException, InvalidValueException
getValue in interface IVariableInvalidStackFrameException - - 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 IVariableVariableImmutableException - - 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 IALSBDebuggerObjecttoString in class java.lang.Objectpublic int hashCode()
hashCode in class ALSBDebuggerObjectpublic boolean equals(java.lang.Object obj)
equals in class ALSBDebuggerObject