public interface LocalVariable extends MutableVariable
ObjectVariable
interface, if the represented local contains not primitive value (object
value).
Since JDI interfaces evolve from one version to another, it's strongly recommended not to implement this interface in client code. New methods can be added to this interface at any time to keep up with the JDI functionality.
ObjectVariable
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns name of enclosing class.
|
String |
getDeclaredType()
Declared type of this local.
|
String |
getName()
Declared name of local.
|
void |
setValue(String value)
Sets value of this local represented as text.
|
setFromMirrorObject
createMirrorObject, getType, getValue
String getName()
String getClassName()
String getDeclaredType()
void setValue(String value) throws InvalidExpressionException
setValue
in interface MutableVariable
value
- a new value of this local represented as textInvalidExpressionException
- if the expression is not correct