public interface java.lang.reflect
Member


Show All Login
Java SE 6
  
Implemented by: Constructor, Field, Method
Details
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, java.lang.reflect.Field, java.lang.reflect.Method, java.lang.reflect.Constructor

Fields
final public static int PUBLIC Details
Identifies the set of all public members of a class or interface, including inherited members.
See also checkMemberAccess
final public static int DECLARED Details
Identifies the set of declared members of a class or interface. Inherited members are not included.
See also checkMemberAccess

Properties
public Class getDeclaringClass() Details
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
returnan object representing the declaring class of the underlying member
public int getModifiers() Details
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.
returnthe Java language modifiers for the underlying member
See also java.lang.reflect.Modifier
public String getName() Details
Returns the simple name of the underlying member or constructor represented by this Member.
returnthe simple name of the underlying member
public boolean isSynthetic() Details
Returns true if this member was introduced by the compiler; returns false otherwise.
returntrue if and only if this member was introduced by the compiler.
since1.5