public interface Member
Class, 
Field, 
Method, 
Constructor | Modifier and Type | Field and 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 and 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  trueif this member was introduced by
 the compiler; returnsfalseotherwise. | 
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, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy. 
Scripting on this page tracks web page traffic, but does not change the content in any way.