public interface Member
类
,
Field
,
方法
,
Constructor
Modifier and Type | Field and Description |
---|---|
static int |
DECLARED
标识类或接口的声明成员的集合。
|
static int |
PUBLIC
标识一个类或接口的所有公共成员的集合,包括继承的成员。
|
Modifier and Type | Method and Description |
---|---|
类<?> |
getDeclaringClass()
返回表示表示此成员表示的成员或构造函数的类或接口的类对象。
|
int |
getModifiers()
返回的成员或构造函数的成员代表本java语言改为整数。
|
String |
getName()
返回由该成员表示的基础成员或构造函数的简单名称。
|
boolean |
isSynthetic()
返回
true 如果这个成员是由编译器介绍;否则返回
false 。
|
static final int PUBLIC
static final int DECLARED
类<?> getDeclaringClass()
String getName()
int getModifiers()
Modifier
boolean isSynthetic()
true
如果这个成员是由编译器介绍;否则返回
false
。
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, 2014, Oracle and/or its affiliates. All rights reserved.