Class java.util.ObjectScope
All Packages    This Package    Previous    Next

Class java.util.ObjectScope

java.lang.Object
   |
   +----java.util.ObjectScope

public class ObjectScope
extends Object
Routines to be used by debuggers to examine objects. This class definitely needs access security. Fields are accessed by their "slot number." Routines which return arrays of strings are indexed by slot number.
Version:
1.7, 31 Jan 1995
Author:
James Gosling

ObjectScope()

getFields(Object)
Gets the names of all the fields in an Object.
getMethods(Object)
Gets the names of all the methods in an Object.
getObject(Object, int)
Gets the value in slot n of Object o.
getValues(Object)
Gets the values of all the fields in an Object.

ObjectScope
  public ObjectScope()

getObject
  public static Object getObject(Object o,
                                 int n)
Gets the value in slot n of Object o.

getFields

  public static String getFields(Object o)
Gets the names of all the fields in an Object.

getMethods

  public static String getMethods(Object o)
Gets the names of all the methods in an Object.

getValues

  public static String getValues(Object o)
Gets the values of all the fields in an Object.


All Packages    This Package    Previous    Next