This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.lang.reflect
interface Member
- All Known Implementing Classes:
- Constructor, Field, Method
public interface Member
Member is an interface that reflects identifying information about
a single member (a field or a method) or a constructor.
Field Summary |
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. |
Method Summary |
Class |
Returns the Class object representing the class or interface
that declares the member or constructor represented by this Member.
|
int |
Returns the Java language modifiers for the member or
constructor represented by this Member, as an integer.
|
String |
Returns the simple name of the underlying member or constructor
represented by this Member.
|
boolean |
Returns true if this member was introduced by
the compiler; returns false otherwise.
|
DECLARED
public static final int DECLARED
-
Identifies the set of declared members of a class or interface.
Inherited members are not included.
PUBLIC
public static final int PUBLIC
-
Identifies the set of all public members of a class or interface,
including inherited members.
getDeclaringClass
public Class getDeclaringClass()
-
Returns the Class object representing the class or interface
that declares the member or constructor represented by this Member.
- Returns:
- an object representing the declaring class of the
underlying member
getModifiers
public int getModifiers()
-
Returns the Java language modifiers for the member or
constructor represented by this Member, as an integer. The
Modifier class should be used to decode the modifiers in
the integer.
- Returns:
- the Java language modifiers for the underlying member
getName
public String getName()
-
Returns the simple name of the underlying member or constructor
represented by this Member.
- Returns:
- the simple name of the underlying member
isSynthetic
public boolean isSynthetic()
-
Returns true if this member was introduced by
the compiler; returns false otherwise.
- Returns:
- true if and only if this member was introduced by
the compiler.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.