Constructor
, Executable
, Field
, Method
public interface Member
Class
,
Field
,
Method
,
Constructor
Modifier and Type | Field | 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 | 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()
String getName()
int getModifiers()
Modifier
boolean isSynthetic()
true
if this member was introduced by
the compiler; returns false
otherwise. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps