public interface Member
Class,
Field,
Method,
Constructor
| Modifier and Type | Field and Description |
|---|---|
static int |
DECLARED
Identifies the set of declared members of a class or interface.
|
static int |
PUBLIC
Identifies the set of all public members of a class or interface, including inherited members.
|
| Modifier and Type | Method and Description |
|---|---|
Class |
getDeclaringClass()
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
|
int |
getModifiers()
Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.
|
String |
getName()
Returns the simple name of the underlying member or constructor represented by this Member.
|
boolean |
isSynthetic()
Returns
true if this member was introduced by the compiler; returns
false otherwise.
|
static final int PUBLIC
static final int DECLARED
Class<?> getDeclaringClass()
StringgetName()
int getModifiers()
Modifier
boolean isSynthetic()
true if this member was introduced by the compiler; returns
false otherwise.