| 软件包 | 描述 |
|---|---|
| javax.lang.model.element |
使用java编程语言的模型元素的接口。
|
| javax.lang.model.util |
公用事业在帮助
program elements和
types处理。
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends VariableElement> |
ExecutableElement.getParameters()
返回此可执行文件的正式参数。
|
| Modifier and Type | Method and Description |
|---|---|
R |
AnnotationValueVisitor.visitEnumConstant(VariableElement c, P p)
在参观一
枚举价值诠释。
|
R |
ElementVisitor.visitVariable(VariableElement e, P p)
访问变量元素。
|
| Modifier and Type | Method and Description |
|---|---|
static List<VariableElement> |
ElementFilter.fieldsIn(Iterable<? extends Element> elements)
返回一个列表中的字段
elements。
|
static Set<VariableElement> |
ElementFilter.fieldsIn(Set<? extends Element> elements)
返回一组字段
elements。
|
| Modifier and Type | Method and Description |
|---|---|
R |
SimpleAnnotationValueVisitor6.visitEnumConstant(VariableElement c, P p)
在参观一
枚举价值诠释。
|
R |
ElementKindVisitor6.visitVariable(VariableElement e, P p)
访问一个变量的访问方法,调度的具体
kind变,
ENUM_CONSTANT,
EXCEPTION_PARAMETER,
FIELD,
LOCAL_VARIABLE,
PARAMETER,或
RESOURCE_VARIABLE。
|
R |
SimpleElementVisitor7.visitVariable(VariableElement e, P p)
这要求执行
defaultAction。
|
R |
SimpleElementVisitor6.visitVariable(VariableElement e, P p)
访问变量元素。
|
R |
ElementScanner7.visitVariable(VariableElement e, P p)
此实现扫描封闭的元素。
|
R |
ElementScanner6.visitVariable(VariableElement e, P p)
访问变量元素。
|
R |
ElementKindVisitor6.visitVariableAsEnumConstant(VariableElement e, P p)
访问一个
ENUM_CONSTANT变元称
defaultAction。
|
R |
ElementKindVisitor6.visitVariableAsExceptionParameter(VariableElement e, P p)
访问一个
EXCEPTION_PARAMETER变元称
defaultAction。
|
R |
ElementKindVisitor6.visitVariableAsField(VariableElement e, P p)
访问一个
FIELD变元称
defaultAction。
|
R |
ElementKindVisitor6.visitVariableAsLocalVariable(VariableElement e, P p)
访问一个
LOCAL_VARIABLE变元称
defaultAction。
|
R |
ElementKindVisitor6.visitVariableAsParameter(VariableElement e, P p)
访问一个
PARAMETER变元称
defaultAction。
|
R |
ElementKindVisitor6.visitVariableAsResourceVariable(VariableElement e, P p)
访问一个
RESOURCE_VARIABLE变元称
visitUnknown。
|
R |
ElementKindVisitor7.visitVariableAsResourceVariable(VariableElement e, P p)
访问一个
RESOURCE_VARIABLE变元称
defaultAction。
|
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.