java.lang.reflect.Member
None
None
java.lang.reflect.Constructor,
java.lang.reflect.Field,
java.lang.reflect.Method
New as of JDK 1.1
The Member interface defines methods shared by members of a class: fields, methods, and constructors.
public abstract interface java.lang.reflect.Member { // Constants public final static int DECLARED; public final static int PUBLIC; // Methods public abstract Class getDeclaringClass(); public abstract int getModifiers(); public abstract String getName(); }
A constant that represents the set of all declared members of a class or interface. This set does not include inherited members. The set can be used in calls to SecurityManager.checkMemberAccess().
A constant that represents the set of all public members of a class or interface, including inherited members. The set can be used in calls to SecurityManager.checkMemberAccess().
The Class object that represents the class that declared this member.
This method returns the Class object for the class in which this member is declared.
An integer that represents the modifier keywords used to declare this member.
This method returns an integer value that represents the modifiers of this member. The Modifier class should be used to decode the returned value.
The name of this member as a String.
This method returns the name of this member.
Class, Constructor, Field, Method, Modifier, SecurityManager
This HTML Help has been published using the chm2web software. |