| java.lang.reflect.Member
All known Subclasses: java.lang.reflect.Field, java.lang.reflect.Constructor, java.lang.reflect.Method,
Member | public interface Member (Code) | | Member is an interface that reflects identifying information about
a single member (a field or a method) or a constructor.
See Also: java.lang.Class See Also: Field See Also: Method See Also: Constructor author: Nakul Saraiya |
Field Summary | |
final public static int | DECLARED Identifies the set of declared members of a class or interface. | final public static int | PUBLIC Identifies the set of all public members of a class or interface,
including inherited members. |
Method Summary | |
public Class | getDeclaringClass() Returns the Class object representing the class or interface
that declares the member or constructor represented by this Member. | public int | getModifiers() Returns the Java language modifiers for the member or
constructor represented by this Member, as an integer. | public String | getName() Returns the simple name of the underlying member or constructor
represented by this Member. |
getDeclaringClass | public Class getDeclaringClass()(Code) | | Returns the Class object representing the class or interface
that declares the member or constructor represented by this Member.
an object representing the declaring class of theunderlying member |
getModifiers | public int getModifiers()(Code) | | Returns the Java language modifiers for the member or
constructor represented by this Member, as an integer. The
Modifier class should be used to decode the modifiers in
the integer.
the Java language modifiers for the underlying member See Also: Modifier |
getName | public String getName()(Code) | | Returns the simple name of the underlying member or constructor
represented by this Member.
the simple name of the underlying member |
|
|