public interface MutableVariable extends Variable
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.
|Modifier and Type||Method and Description|
Set the value of this variable to match the given mirror object.
Sets a value represented as text, to this variable.
createMirrorObject, getType, getValue
void setValue(String value) throws InvalidExpressionException
value- The string value to be set to this variable
InvalidExpressionException- if the expression is not correct
void setFromMirrorObject(Object obj) throws InvalidObjectException
obj- The mirror object
InvalidObjectException- when it was not possible to set value of this variable from the provided object.