软件包 | 描述 |
---|---|
javax.lang.model.element |
使用java编程语言的模型元素的接口。
|
javax.lang.model.util |
公用事业在帮助
program elements和
types处理。
|
Modifier and Type | Method and Description |
---|---|
R |
ElementVisitor.visitPackage(PackageElement e, P p)
访问包元素。
|
Modifier and Type | Method and Description |
---|---|
PackageElement |
Elements.getPackageElement(CharSequence name)
返回给定其完全限定名称的包。
|
PackageElement |
Elements.getPackageOf(Element type)
返回元素的包。
|
Modifier and Type | Method and Description |
---|---|
static List<PackageElement> |
ElementFilter.packagesIn(Iterable<? extends Element> elements)
返回一个列表,包在
elements 。
|
static Set<PackageElement> |
ElementFilter.packagesIn(Set<? extends Element> elements)
返回一组包在
elements 。
|
Modifier and Type | Method and Description |
---|---|
R |
ElementKindVisitor6.visitPackage(PackageElement e, P p)
访问包元素。
|
R |
SimpleElementVisitor6.visitPackage(PackageElement e, P p)
访问包元素。
|
R |
ElementScanner6.visitPackage(PackageElement e, P p)
访问包元素。
|
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.