Build 1.0_r1(from source)

java.lang.reflect
Interface Member

All Known Implementing Classes:
Constructor, Field, Method

public interface Member

Implementors of this interface model a class member.

See Also:
Field, Constructor, Method

Field Summary
static int DECLARED
           
static int PUBLIC
           
 
Method Summary
 Class getDeclaringClass()
          Return the Class associated with the class that defined this member.
 int getModifiers()
          Return the modifiers for the member.
 String getName()
          Return the name of the member.
 boolean isSynthetic()
          Indicates whether or not this member is synthetic (artificially introduced by the compiler).
 

Field Detail

PUBLIC

static final int PUBLIC
See Also:
Constant Field Values

DECLARED

static final int DECLARED
See Also:
Constant Field Values
Method Detail

getDeclaringClass

Class getDeclaringClass()
Return the Class associated with the class that defined this member.

Returns:
the declaring class

getModifiers

int getModifiers()
Return the modifiers for the member. The Modifier class should be used to decode the result.

Returns:
the modifiers
See Also:
Modifier

getName

String getName()
Return the name of the member.

Returns:
the name

isSynthetic

boolean isSynthetic()
Indicates whether or not this member is synthetic (artificially introduced by the compiler).

Returns:
A value of true if synthetic, otherwise false.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature