Packages This Package Previous Next Index
Class sun.tools.debug.RemoteField
java.lang.Object
|
+----sun.tools.debug.Field
|
+----sun.tools.debug.RemoteField
- public class RemoteField
- extends Field
- implements AgentConstants
A RemoteField allows access to a variable or method of an object
or class in a remote Java interpreter.
- See Also:
- RemoteStackVariable
-
getModifiers()
- Returns a string with the field's modifiers, such as "public",
"static", "final", etc.
-
getName()
- Returns the name of the field.
-
getType()
- Returns a Type object for the field.
-
getTypedName()
- Returns a string describing the field with its full type.
-
isStatic()
- Returns whether the field is static (a class variable or method).
-
toString()
- Returns a String that represents the value of this Object.
getName
public String getName()
- Returns the name of the field.
getType
public Type getType()
- Returns a Type object for the field.
getTypedName
public String getTypedName()
- Returns a string describing the field with its full type.
This string is similar to the one defining the field or
its source code, such as "int enumerate(Thread[])" or
"char name[]".
getModifiers
public String getModifiers()
- Returns a string with the field's modifiers, such as "public",
"static", "final", etc. If the field has no modifiers, an empty
String is returned.
isStatic
public boolean isStatic()
- Returns whether the field is static (a class variable or method).
toString
public String toString()
- Returns a String that represents the value of this Object.
- Overrides:
- toString in class Object
Packages This Package Previous Next Index