All Packages Class Hierarchy This Package Previous Next Index
Class epp.ClassFileClassInfo
java.lang.Object
|
+----epp.MemberInfo
|
+----epp.ClassInfo
|
+----epp.ClassFileClassInfo
- public class ClassFileClassInfo
- extends ClassInfo
The ClassFileClassInfo
class is a ClassInfo
created from a class file.
- See Also:
- ClassInfo, FileSig
-
ClassFileClassInfo(Tree[], boolean, Symbol, Type, Type[], FieldInfo[], MethodInfo[], MethodInfo[], ClassInfo[])
-
-
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.
ClassFileClassInfo
public ClassFileClassInfo(Tree modifiers[],
boolean isInterface,
Symbol fullName,
Type superclassType,
Type interfaceTypes[],
FieldInfo fieldInfos[],
MethodInfo constructorInfos[],
MethodInfo methodInfoArray[],
ClassInfo innerClassInfos[])
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