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

Constructor Index

 o MemberInfo(Tree[], Symbol)

Method Index

 o getDeclaringClass()
Returns the class this member was defined in.
 o getModifiers()
Returns the modifier of this member.
 o getName()
Returns the name of this member.
 o modifiersToString()
 o toString()
Converts this member into a human readable string.

Constructors

 o MemberInfo
 public MemberInfo(Tree modifiers[],
                   Symbol name)

Methods

 o getDeclaringClass
 public Type getDeclaringClass()
Returns the class this member was defined in. (The implementation in EPP 1.1.0 beta3 is not complete yet.)

 o getName
 public Symbol getName()
Returns the name of this member. If it is a class, a fully qualified name symbol is returned.

 o 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
 o toString
 public abstract String toString()
Converts this member into a human readable string. This method is for debugging.

Overrides:
toString in class Object
 o modifiersToString
 public String modifiersToString()

All Packages  Class Hierarchy  This Package  Previous  Next  Index