All Packages Class Hierarchy This Package Previous Next Index
Class epp.TreeClassInfo
java.lang.Object
|
+----epp.MemberInfo
|
+----epp.ClassInfo
|
+----epp.TreeClassInfo
- public class TreeClassInfo
- extends ClassInfo
The TreeClassInfo
class is a ClassInfo
created
from ClassSignatureTree
.
- See Also:
- ClassInfo, FileSig
-
TreeClassInfo(Tree[], boolean, Symbol, Type, Type[], MethodInfo[], Hashtable, Hashtable, Hashtable)
-
-
getClasses()
- Returns all inner classes that are members of a class.
-
getConstructors()
- Returns all constructors.
-
getField(Symbol)
- Returns fields with the name
sym
.
-
getFields()
- Returns all fields.
-
getInterfaces()
- Returns the interface that this class implements or the interface this
interface extends.
-
getMethods()
- Returns all methods.
-
getOverloadedMethods(Symbol)
- Returns all methods with the name
sym
.
-
getSuperclass()
- Returns the super class.
-
isInterface()
- Returns true if this ClassInfo is an interface
and false if it is a class.
TreeClassInfo
public TreeClassInfo(Tree modifiers[],
boolean isInterface,
Symbol fullName,
Type superclassType,
Type interfaceTypes[],
MethodInfo constructors[],
Hashtable fieldTable,
Hashtable methodTable,
Hashtable innerClassTable)
getConstructors
public MethodInfo[] getConstructors()
- Returns all constructors.
- Overrides:
- getConstructors in class ClassInfo
getFields
public FieldInfo[] getFields()
- Returns all fields.
- Overrides:
- getFields in class ClassInfo
getMethods
public MethodInfo[] getMethods()
- Returns all methods.
- Overrides:
- getMethods in class ClassInfo
getClasses
public ClassInfo[] getClasses()
- Returns all inner classes that are members of a class.
- Overrides:
- getClasses in class ClassInfo
getField
public FieldInfo getField(Symbol sym) throws NotFound
- Returns fields with the name
sym
.
- Overrides:
- getField in class ClassInfo
getOverloadedMethods
public MethodInfo[] getOverloadedMethods(Symbol sym) throws NotFound
- Returns all methods with the name
sym
.
- Overrides:
- getOverloadedMethods in class ClassInfo
getSuperclass
public Type getSuperclass()
- Returns the super class.
- Overrides:
- getSuperclass in class ClassInfo
getInterfaces
public Type[] getInterfaces()
- Returns the interface that this class implements or the interface this
interface extends.
- Overrides:
- getInterfaces in class ClassInfo
isInterface
public boolean isInterface()
- Returns true if this ClassInfo is an interface
and false if it is a class.
- Overrides:
- isInterface in class ClassInfo
All Packages Class Hierarchy This Package Previous Next Index