All Packages Class Hierarchy 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 representation of the 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 representation of the object.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature