All Packages Class Hierarchy This Package Previous Next Index
Class epp.MemberInfo
java.lang.Object
|
+----epp.MemberInfo
- public abstract class MemberInfo
- extends Object
The MemberInfo
class defines common methods of
ClassInfo
, FieldInfo
, and MethodInfo
.
- See Also:
- ClassInfo, FieldInfo, MethodInfo
-
MemberInfo(Tree[], Symbol)
-
-
getDeclaringClass()
- Returns the class this member was defined in.
-
getModifiers()
- Returns the modifier of this member.
-
getName()
- Returns the name of this member.
-
modifiersToString()
-
-
toString()
- Converts this member into a human readable string.
MemberInfo
public MemberInfo(Tree modifiers[],
Symbol name)
getDeclaringClass
public Type getDeclaringClass()
- Returns the class this member was defined in.
(The implementation in EPP 1.1.0 beta3 is not complete yet.)
getName
public Symbol getName()
- Returns the name of this member.
If it is a class, a fully qualified name symbol is returned.
getModifiers
public Tree[] getModifiers()
- Returns the modifier of this member.
Normally, the returned element of the array is an instance of the
Identifier
class.
- See Also:
- Identifier
toString
public abstract String toString()
- Converts this member into a human readable string.
This method is for debugging.
- Overrides:
- toString in class Object
modifiersToString
public String modifiersToString()
All Packages Class Hierarchy This Package Previous Next Index