public interface Member
Field,
Constructor,
Method| Modifier and Type | Field and Description |
|---|---|
static int |
DECLARED
Designates all declared members of a class or interface (without
inherited members).
|
static int |
PUBLIC
Designates all public members of a class or interface (including
inherited members).
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getDeclaringClass()
Returns the class that declares this member.
|
int |
getModifiers()
Returns the modifiers for this member.
|
String |
getName()
Returns the name of this member.
|
boolean |
isSynthetic()
Indicates whether or not this member is synthetic (artificially
introduced by the compiler).
|
static final int PUBLIC
static final int DECLARED
Class<?> getDeclaringClass()
int getModifiers()
Modifier class should
be used to decode the result.ModifierString getName()
boolean isSynthetic()
true if this member is synthetic, false otherwise