|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Member
Member is an interface that represents any member of a class (field or method) or a constructor. You can get information about the declaring class, name or modifiers of the member with this interface.
Class,
Field,
Method,
Constructor| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final int DECLARED
SecurityManager.checkMemberAccess(Class, int),
Constant Field Valuesstatic final int PUBLIC
SecurityManager.checkMemberAccess(Class, int),
Constant Field Values| Method Detail |
|---|
Class getDeclaringClass()
String getName()
int getModifiers()
Modifier
class to interpret the values.
Modifierboolean isSynthetic()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||