org.aspectj.org.eclipse.jdt.internal.core.hierarchy
Class HierarchyType
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyType
- All Implemented Interfaces:
- IDependent, IGenericType
public class HierarchyType
- extends java.lang.Object
- implements IGenericType
Partial implementation of an IGenericType used to
answer hierarchies.
|
Constructor Summary |
HierarchyType(IType typeHandle,
char[] name,
int modifiers,
char[] superclassName,
char[][] superInterfaceNames)
|
|
Method Summary |
char[] |
getFileName()
Answer the file name which defines the type. |
int |
getModifiers()
Answer an int whose bits are set according the access constants
defined by the VM spec. |
boolean |
isBinaryType()
Answer whether the receiver contains the resolved binary form
or the unresolved source form of the type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeHandle
public IType typeHandle
name
public char[] name
modifiers
public int modifiers
superclassName
public char[] superclassName
superInterfaceNames
public char[][] superInterfaceNames
HierarchyType
public HierarchyType(IType typeHandle,
char[] name,
int modifiers,
char[] superclassName,
char[][] superInterfaceNames)
getFileName
public char[] getFileName()
- Description copied from interface:
IDependent
- Answer the file name which defines the type.
The path part (optional) must be separated from the actual
file proper name by a separator suitable for the type (java.io.File.separator for example),
e.g.
"c:\\source\\com\\p\\X.java" or
"/com/p/Y.java".
The path to the zip or jar file (optional) must be separated
from the actual path part by JAR_FILE_ENTRY_SEPARATOR,
e.g.
"c:\\lib\\some.jar|/com/p/X.class" or
"/lib/some.zip|/com/q/Y.class".
The proper file name includes the suffix extension (e.g. ".java")
e.g. "c:/org.aspectj.org.eclipse.jdt/internal/compileri/env/IDependent.java"
Return null if no file defines the type.
- Specified by:
getFileName in interface IDependent
- See Also:
IDependent.getFileName()
getModifiers
public int getModifiers()
- Answer an int whose bits are set according the access constants
defined by the VM spec.
- Specified by:
getModifiers in interface IGenericType
isBinaryType
public boolean isBinaryType()
- Answer whether the receiver contains the resolved binary form
or the unresolved source form of the type.
- Specified by:
isBinaryType in interface IGenericType