public interface IJavaReferenceType extends IJavaType
Clients are not intended to implement this interface.
Modifier and Type | Method and Description |
---|---|
String[] |
getAllFieldNames()
Returns a collection of the names of all of the fields declared in this
type, all of its super classes, implemented interfaces and super interfaces.
|
String[] |
getAvailableStrata()
Returns a collection of strata available for this type.
|
IJavaObject |
getClassLoaderObject()
Returns the class loader object that loaded the class corresponding to this
type, or
null if this type was loaded by the bootstrap loader. |
IJavaClassObject |
getClassObject()
Returns the class object associated with this type.
|
String[] |
getDeclaredFieldNames()
Returns a collection of the names of the fields declared in this type.
|
String |
getDefaultStratum()
Returns the default stratum for this type.
|
IJavaFieldVariable |
getField(String name)
Returns a variable representing the static field in this type
with the given name, or
null if there is no
field with the given name, or the name is ambiguous. |
String |
getGenericSignature()
Returns the generic signature as defined in the JVM
specification for this type.
|
String |
getSourceName()
Returns the unqualified name of the source file corresponding to this type,
or
null if source name debug attribute is not present. |
String[] |
getSourceNames(String stratum)
Returns the unqualified names of the source files corresponding to this type in
the specified stratum, or
null if the source name debug attribute is
not present. |
String[] |
getSourcePaths(String stratum)
Returns the qualified names of the source files corresponding to this type in
the specified stratum, or
null if the source name debug attribute is
not present. |
getName, getSignature
getDebugTarget, getLaunch, getModelIdentifier
getAdapter
IJavaFieldVariable getField(String name) throws DebugException
null
if there is no
field with the given name, or the name is ambiguous.name
- field namenull
DebugException
- if this method fails. Reasons include:
IJavaClassObject getClassObject() throws DebugException
DebugException
- if this method fails. Reasons include:
String[] getAvailableStrata() throws DebugException
DebugException
- if unable to retrieve available strataString getDefaultStratum() throws DebugException
DebugException
- if unable to retrieve the default stratumString[] getDeclaredFieldNames() throws DebugException
DebugException
- if unable to retrieve declared field namesString[] getAllFieldNames() throws DebugException
DebugException
- if unable to retrieve field namesIJavaObject getClassLoaderObject() throws DebugException
null
if this type was loaded by the bootstrap loader.null
DebugException
String getGenericSignature() throws DebugException
null
if this type is not a generic type.null
if generic signature not availableDebugException
- if this method fails. Reasons include:
String getSourceName() throws DebugException
null
if source name debug attribute is not present.
The source name returned is based on this target's default stratum.null
DebugException
- if an exception occurs retrieving the source nameString[] getSourceNames(String stratum) throws DebugException
null
if the source name debug attribute is
not present.null
DebugException
- if an exception occurs retrieving the source nameString[] getSourcePaths(String stratum) throws DebugException
null
if the source name debug attribute is
not present.null
DebugException
- if an exception occurs retrieving the source nameCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.