软件包 | 描述 |
---|---|
javax.lang.model.type |
用java编程语言类型的接口模型。
|
javax.lang.model.util |
公用事业在帮助
program elements和
types处理。
|
Modifier and Type | Method and Description |
---|---|
TypeKind |
TypeMirror.getKind()
返回此类型的
kind 。
|
static TypeKind |
TypeKind.valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static TypeKind[] |
TypeKind.values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
Modifier and Type | Method and Description |
---|---|
NoType |
Types.getNoType(TypeKind kind)
返回一个不使用实际类型的伪类型。
|
PrimitiveType |
Types.getPrimitiveType(TypeKind kind)
返回一个原始类型。
|
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.