[Chapter 26] 26.5 java.lang.reflect.Member (JDK 1.1)
Author: David Flanagan
Date: Thu Jul 31 16:28:57 1997

#

| Chapter 26 The java.lang.reflect Package |

## 26.5 java.lang.reflect.Member (JDK 1.1)

###

This interface defines the methods shared by all members (fields, methods, and constructors) of a class. `getName()` returns the name of the member, `getModifiers()` returns its modifiers, and `getDeclaringClass()` returns the `Class` object that represents the class of which the member is a part.

    public abstract interface Member {
        // Constants
                public static final int DECLARED;
                public static final int PUBLIC;
        // Public Instance Methods
                public abstract Class getDeclaringClass();
                public abstract int getModifiers();
                public abstract String getName();
    }

### Implemented By:

Constructor, Field, Method

java.lang.reflect.InvocationTargetException (JDK 1.1) |  | java.lang.reflect.Method (JDK 1.1)