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