Class HierarchyType
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyType
- All Implemented Interfaces:
IDependent
,IGenericType
Partial implementation of an IGenericType used to
answer hierarchies.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
int
char[]
char[]
char[][]
Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IDependent
JAR_FILE_ENTRY_SEPARATOR
-
Constructor Summary
ConstructorDescriptionHierarchyType(IType typeHandle, char[] name, int modifiers, char[] superclassName, char[][] superInterfaceNames, boolean anonymous)
-
Method Summary
Modifier and TypeMethodDescriptionchar[]
Answer the file name which defines the type.int
Answer an int whose bits are set according the access constants defined by the VM spec.boolean
Answer whether the receiver is an anonymous typeboolean
Answer whether the receiver contains the resolved binary form or the unresolved source form of the type.
-
Field Details
-
typeHandle
-
name
public char[] name -
modifiers
public int modifiers -
superclassName
public char[] superclassName -
superInterfaceNames
public char[][] superInterfaceNames -
anonymous
public boolean anonymous
-
-
Constructor Details
-
HierarchyType
public HierarchyType(IType typeHandle, char[] name, int modifiers, char[] superclassName, char[][] superInterfaceNames, boolean anonymous)
-
-
Method Details
-
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 interfaceIDependent
- 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 interfaceIGenericType
-
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 interfaceIGenericType
-
isAnonymous
public boolean isAnonymous()Answer whether the receiver is an anonymous type
-