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

Method Index

 o getModifiers()
Returns a string with the field's modifiers, such as "public", "static", "final", etc.
 o getName()
Returns the name of the field.
 o getType()
Returns a Type object for the field.
 o getTypedName()
Returns a string describing the field with its full type.
 o isStatic()
Returns whether the field is static (a class variable or method).
 o setValue(int, boolean)
 o setValue(int, char)
 o setValue(int, double)
 o setValue(int, float)
 o setValue(int, int)
 o setValue(int, long)
 o toString()
Returns a string representation of the object.

Methods

 o getName
 public String getName()
Returns the name of the field.

 o setValue
 public void setValue(int id,
                      int value) throws IllegalAccessException, Exception
 o setValue
 public void setValue(int id,
                      boolean value) throws IllegalAccessException, Exception
 o setValue
 public void setValue(int id,
                      char value) throws IllegalAccessException, Exception
 o setValue
 public void setValue(int id,
                      long value) throws IllegalAccessException, Exception
 o setValue
 public void setValue(int id,
                      float value) throws IllegalAccessException, Exception
 o setValue
 public void setValue(int id,
                      double value) throws IllegalAccessException, Exception
 o getType
 public Type getType()
Returns a Type object for the field.

 o 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[]".

 o 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.

 o isStatic
 public boolean isStatic()
Returns whether the field is static (a class variable or method).

 o 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