软件包 | 描述 |
---|---|
javax.lang.model.element |
使用java编程语言的模型元素的接口。
|
javax.tools |
为可以从程序调用的工具提供接口,例如,编译器。
|
Modifier and Type | Method and Description |
---|---|
static Modifier |
Modifier.valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static Modifier[] |
Modifier.values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
Modifier and Type | Method and Description |
---|---|
Set<Modifier> |
Element.getModifiers()
返回此元素的改性剂,不包括注释。
|
Modifier and Type | Method and Description |
---|---|
Modifier |
ForwardingJavaFileObject.getAccessLevel() |
Modifier |
JavaFileObject.getAccessLevel()
提供了一个关于此文件对象表示的类的访问级别的提示。
|
Modifier |
SimpleJavaFileObject.getAccessLevel()
此实现返回
null 。
|
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.