public interface Member
Class
,
Field
,
Method
,
Constructor
Modifier and Type | Field and Description |
---|---|
static int |
DECLARED
Represents all members, whether public, private, protected or
package-protected, but only which are declared in this class.
|
static int |
PUBLIC
Represents public members only, but includes all inherited members.
|
Modifier and Type | Method and Description |
---|---|
Class |
getDeclaringClass()
Gets the class that declared this member.
|
int |
getModifiers()
Gets the modifiers this member uses.
|
String |
getName()
Gets the simple name of this member.
|
boolean |
isSynthetic()
Return true if this member is synthetic, meaning that it was
created by the compiler and does not appear in the user's
source code.
|
static final int DECLARED
static final int PUBLIC
Class getDeclaringClass()
String getName()
int getModifiers()
Modifier
class to interpret the values.Modifier
boolean isSynthetic()