软件包 | 描述 |
---|---|
javax.lang.model.element |
使用java编程语言的模型元素的接口。
|
javax.lang.model.type |
用java编程语言类型的接口模型。
|
javax.lang.model.util |
公用事业在帮助
program elements和
types处理。
|
Modifier and Type | Method and Description |
---|---|
DeclaredType |
AnnotationMirror.getAnnotationType()
返回此注释的类型。
|
Modifier and Type | Interface and Description |
---|---|
interface |
ErrorType
表示不能正确建模的类或接口类型。
|
Modifier and Type | Method and Description |
---|---|
R |
TypeVisitor.visitDeclared(DeclaredType t, P p)
访问已声明的类型。
|
Modifier and Type | Method and Description |
---|---|
DeclaredType |
Types.getDeclaredType(DeclaredType containing, TypeElement typeElem, TypeMirror... typeArgs)
返回类型对应一个元素类型与实际类型参数,给出了
containing type它是其中的一员。
|
DeclaredType |
Types.getDeclaredType(TypeElement typeElem, TypeMirror... typeArgs)
返回对应于类型元素和实际类型参数的类型。
|
Modifier and Type | Method and Description |
---|---|
TypeMirror |
Types.asMemberOf(DeclaredType containing, Element element)
返回一个元素的类型,当该元素被视为一个成员,或其他直接包含的,一个给定的类型。
|
DeclaredType |
Types.getDeclaredType(DeclaredType containing, TypeElement typeElem, TypeMirror... typeArgs)
返回类型对应一个元素类型与实际类型参数,给出了
containing type它是其中的一员。
|
R |
SimpleTypeVisitor6.visitDeclared(DeclaredType t, 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.