Team LiB
Previous Section Next Section

Memberjava.lang.reflect

Java 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. isSynthetic( ) returns TRue if the member is one that does not appear in the source code but was introduced by the compiler.

public interface Member {
// Public Constants
     public static final int DECLARED;     =1
     public static final int PUBLIC;       =0
// Public Instance Methods
     Class getDeclaringClass( );  
     int getModifiers( );  
     String getName( );  
5.0  boolean isSynthetic( );  
}

Implementations

Constructor, Field, Method

    Team LiB
    Previous Section Next Section