abstract
List<Field>
|
allFields()
Returns a list containing each Field declared in this type,
and its superclasses, implemented interfaces, and/or superinterfaces.
|
abstract
List<Location>
|
allLineLocations()
Returns a list containing a Location object
for each executable source line in this reference type.
|
abstract
List<Location>
|
allLineLocations(String stratum, String sourceName)
Returns a list containing a Location object
for each executable source line in this reference type.
|
abstract
List<Method>
|
allMethods()
Returns a list containing each Method declared in this type,
and its superclasses, implemented interfaces, and/or superinterfaces.
|
abstract
List<String>
|
availableStrata()
Return the available strata for this reference type.
|
abstract
ClassLoaderReference
|
classLoader()
Gets the classloader object which loaded the class corresponding
to this type.
|
abstract
ClassObjectReference
|
classObject()
Returns the class object that corresponds to this type in the
target VM.
|
abstract
byte[]
|
constantPool()
Returns the raw bytes of the constant pool in the format of the
constant_pool item of the Class File Format in the Java Virtual
Machine Specification.
|
abstract
int
|
constantPoolCount()
Returns the number of entries in the constant pool plus one.
|
abstract
String
|
defaultStratum()
Returns the default stratum for this reference type.
|
abstract
boolean
|
equals(Object obj)
Compares the specified Object with this ReferenceType for equality.
|
abstract
boolean
|
failedToInitialize()
Determines if initialization failed for this class.
|
abstract
Field
|
fieldByName(String fieldName)
Finds the visible Field with the given
non-ambiguous name.
|
abstract
List<Field>
|
fields()
Returns a list containing each Field declared in this type.
|
abstract
String
|
genericSignature()
Gets the generic signature for this type if there is one.
|
abstract
Value
|
getValue(Field field)
Gets the Value of a given static Field in this type.
|
abstract
Map<Field, Value>
|
getValues(List<? extends Field> fields)
Returns a map containing the Value of each
static Field in the given list.
|
abstract
int
|
hashCode()
Returns the hash code value for this ObjectReference.
|
abstract
List<ObjectReference>
|
instances(long maxInstances)
Returns instances of this ReferenceType.
|
abstract
boolean
|
isAbstract()
Determines if this type was declared abstract.
|
abstract
boolean
|
isFinal()
Determines if this type was declared final.
|
abstract
boolean
|
isInitialized()
Determines if this type has been initialized.
|
abstract
boolean
|
isPrepared()
Determines if this type has been prepared.
|
abstract
boolean
|
isStatic()
Determines if this type was declared static.
|
abstract
boolean
|
isVerified()
Determines if this type has been verified.
|
abstract
List<Location>
|
locationsOfLine(int lineNumber)
Returns a List containing all Location objects
that map to the given line number.
|
abstract
List<Location>
|
locationsOfLine(String stratum, String sourceName, int lineNumber)
Returns a List containing all Location objects
that map to the given line number.
|
abstract
int
|
majorVersion()
Returns the class major version number, as defined in the class file format
of the Java Virtual Machine Specification.
|
abstract
List<Method>
|
methods()
Returns a list containing each Method declared
directly in this type.
|
abstract
List<Method>
|
methodsByName(String name, String signature)
Returns a List containing each visible Method that
has the given name and signature.
|
abstract
List<Method>
|
methodsByName(String name)
Returns a List containing each visible Method that
has the given name.
|
abstract
int
|
minorVersion()
Returns the class minor version number, as defined in the class file format
of the Java Virtual Machine Specification.
|
abstract
String
|
name()
Gets the fully qualified name of this type.
|
abstract
List<ReferenceType>
|
nestedTypes()
Returns a List containing ReferenceType objects that are
declared within this type and are currently loaded into the Virtual
Machine.
|
abstract
String
|
sourceDebugExtension()
Get the source debug extension of this type.
|
abstract
String
|
sourceName()
Gets an identifying name for the source corresponding to the
declaration of this type.
|
abstract
List<String>
|
sourceNames(String stratum)
Gets the identifying names for all the source corresponding to the
declaration of this type.
|
abstract
List<String>
|
sourcePaths(String stratum)
Gets the paths to the source corresponding to the
declaration of this type.
|
abstract
List<Field>
|
visibleFields()
Returns a list containing each unhidden and unambiguous Field
in this type.
|
abstract
List<Method>
|
visibleMethods()
Returns a list containing each Method
declared or inherited by this type.
|