|
Eclipse JDT Release 3.6 |
|||||||||
| 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. |
long |
getInstanceCount()
Returns the number of instances of this type currently allocated in the target virtual machine, or -1 if instance counts are not supported by the target. |
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 strata
String getDefaultStratum()
throws DebugException
DebugException - if unable to retrieve the default stratum
String[] getDeclaredFieldNames()
throws DebugException
DebugException - if unable to retrieve declared field names
String[] getAllFieldNames()
throws DebugException
DebugException - if unable to retrieve field names
IJavaObject 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 name
String[] getSourceNames(String stratum)
throws DebugException
null if the source name debug attribute is
not present.
stratum - stratum identifier or null to use this type's default stratum
null
DebugException - if an exception occurs retrieving the source name
String[] getSourcePaths(String stratum)
throws DebugException
null if the source name debug attribute is
not present.
stratum - stratum identifier or null to use this type's default stratum
null
DebugException - if an exception occurs retrieving the source name
IJavaObject[] getInstances(long max)
throws DebugException
max - the maximum number of instances to retrieve or 0 to retrieve all instances
DebugException - on failure
long getInstanceCount()
throws DebugException
DebugException - on failure
|
Eclipse JDT Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.