java.lang.reflect
public
interface
java.lang.reflect.Member
Implementors of this interface model a class member.
Known Indirect Subclasses
Constructor<T> |
This class models a constructor. |
Field |
This class must be implemented by the VM vendor. |
Method |
This class models a method. |
Summary
Details
Constants
public
static
final
int
DECLARED
Constant Value:
1
(0x00000001)
public
static
final
int
PUBLIC
Constant Value:
0
(0x00000000)
Public Methods
public
Class
getDeclaringClass()
Return the
Class associated with the class that defined this
member.
public
int
getModifiers()
Return the modifiers for the member. The Modifier class should be used to
decode the result.
public
String
getName()
Return the name of the member.
public
boolean
isSynthetic()
Indicates whether or not this member is synthetic (artificially
introduced by the compiler).
Returns
- A value of
true
if synthetic, otherwise
false
.