|
Eclipse JDT Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the type of an object in a virtual machine - including classes, interfaces and array types.
Clients are not intended to implement this interface.
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. |
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 |
public 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:
public IJavaClassObject getClassObject() throws DebugException
DebugException
- if this method fails. Reasons include:
public String[] getAvailableStrata() throws DebugException
DebugException
- if unable to retrieve available stratapublic String getDefaultStratum() throws DebugException
DebugException
- if unable to retrieve the default stratumpublic String[] getDeclaredFieldNames() throws DebugException
DebugException
- if unable to retrieve declared field namespublic String[] getAllFieldNames() throws DebugException
DebugException
- if unable to retrieve field namespublic IJavaObject getClassLoaderObject() throws DebugException
null
if this type was loaded by the bootstrap loader.
null
DebugException
public 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:
public 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 namepublic String[] getSourceNames(String stratum) throws DebugException
null
if the source name debug attribute is
not present.
null
DebugException
- if an exception occurs retrieving the source namepublic String[] getSourcePaths(String stratum) throws DebugException
null
if the source name debug attribute is
not present.
null
DebugException
- if an exception occurs retrieving the source name
|
Eclipse JDT Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |