org.netbeans.api.debugger.jpda
public interface Field extends Variable
ObjectVariable
interface, if the represented field 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 field.
|
JPDAClassType |
getDeclaringClass()
Get the class type in which this field was declared.
|
String |
getName()
Declared name of field.
|
boolean |
isStatic()
Returns
true for static fields. |
void |
setValue(String value)
Sets value of this field represented as text.
|
String getName()
String getClassName()
JPDAClassType getDeclaringClass()
String getDeclaredType()
boolean isStatic()
true
for static fields.true
for static fieldsvoid setValue(String value) throws InvalidExpressionException
InvalidExpressionException
- if the expression is not correctBuilt on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.