|
Eclipse JDT Release 3.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJavaReferenceType
Represents the type of an object in a virtual machine - including classes, interfaces and array types.
Method Summary | |
---|---|
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. |
IJavaObject[] |
getInstances(long max)
Retrieves and returns instances of this reference 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. |
Methods inherited from interface org.eclipse.jdt.debug.core.IJavaType |
---|
getName, getSignature |
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
---|
getDebugTarget, getLaunch, getModelIdentifier |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
IJavaFieldVariable getField(String name) throws DebugException
null
if there is no
field with the given name, or the name is ambiguous.
name
- field name
null
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 available
DebugException
- 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 nameIJavaObject[] getInstances(long max) throws DebugException
max
- the maximum number of instances to retrieve or 0 to retrieve all instances
DebugException
- on failure
|
Eclipse JDT Release 3.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |