org.netbeans.api.debugger.jpda
public interface LocalVariable extends Variable
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.
|
String getName()
String getClassName()
String getDeclaredType()
void setValue(String value) throws InvalidExpressionException
value
- a new value of this local represented as textInvalidExpressionException
- if the expression is not correctBuilt on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.