All Packages Class Hierarchy This Package Previous Next Index
Interface java.lang.reflect.Member
- public interface Member
Member is an interface that reflects identifying information about
a single member (a field or a method) or a constructor.
- See Also:
- Class, Field, Method, Constructor
-
DECLARED
- Identifies the set of declared members of a class or interface.
-
PUBLIC
- Identifies the set of all public members of a class or interface,
including inherited members.
-
getDeclaringClass()
- Returns the Class object representing the class or interface
that declares the member or constructor represented by this Member.
-
getModifiers()
- Returns the Java language modifiers for the member or
constructor represented by this Member, as an integer.
-
getName()
- Returns the simple name of the underlying member or constructor
represented by this Member.
PUBLIC
Properties Public Constant
PUBLIC=int
- Identifies the set of all public members of a class or interface,
including inherited members.
- See Also:
- checkMemberAccess
DECLARED
Properties Public Constant
DECLARED=int
- Identifies the set of declared members of a class or interface.
Inherited members are not included.
- See Also:
- checkMemberAccess
getDeclaringClass
method getDeclaringClass() returns Class public abstract
- Returns the Class object representing the class or interface
that declares the member or constructor represented by this Member.
getName
method getName() returns String public abstract
- Returns the simple name of the underlying member or constructor
represented by this Member.
getModifiers
method getModifiers() returns int public abstract
- 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.
- See Also:
- Modifier
All Packages Class Hierarchy This Package Previous Next Index