软件包 | 描述 |
---|---|
java.lang |
提供对java编程语言的设计基础课。
|
java.lang.reflect |
提供用于获取类和对象的反射信息的类和接口。
|
Modifier and Type | Class and Description |
---|---|
class |
类<T>
类的实例代表一个运行
类 java应用程序的类和接口。
|
Modifier and Type | Method and Description |
---|---|
Type[] |
Class.getGenericInterfaces()
返回表示接口,通过该对象表示的类或接口直接实现的
Type s。
|
Type |
Class.getGenericSuperclass()
返回表示实体的直接父类的
Type (类、接口、简单类型或void)的
类 代表。
|
Modifier and Type | Interface and Description |
---|---|
interface |
GenericArrayType
GenericArrayType 表示数组类型的组件类型是一个参数化的类型或类型变量。
|
interface |
ParameterizedType
parameterizedtype代表一个参数化的类型,如收集
<字符串>
。
字符串>
|
interface |
TypeVariable<D extends GenericDeclaration>
型变量是类类型的变量一般超。
|
interface |
WildcardType
WildcardType是一个通配符表达式类型,如
? ,
? extends Number ,或
? super Integer 。
|
Modifier and Type | Method and Description |
---|---|
Type[] |
ParameterizedType.getActualTypeArguments()
返回的对象的实际类型参数
Type 代表这种类型的数组。
|
Type[] |
TypeVariable.getBounds()
返回
Type 对象代表上界的数组(S)这种类型的变量。
|
Type |
GenericArrayType.getGenericComponentType()
返回一个表示该数组的组件类型
Type 对象。
|
Type[] |
Method.getGenericExceptionTypes()
返回
Type 对象表示例外声明是由可执行对象抛出数组。
|
Type[] |
Executable.getGenericExceptionTypes()
返回
Type 对象表示例外声明是由可执行对象抛出数组。
|
Type[] |
Constructor.getGenericExceptionTypes()
返回
Type 对象表示例外声明是由可执行对象抛出数组。
|
Type[] |
Method.getGenericParameterTypes()
返回表示形式参数类型
Type 对象的数组,在声明顺序,该对象表示的可执行文件。
|
Type[] |
Executable.getGenericParameterTypes()
返回
Type 对象表示形式参数类型的数组,在声明顺序,该对象表示的可执行文件。
|
Type[] |
Constructor.getGenericParameterTypes()
返回
Type 对象表示形式参数类型的数组,在声明顺序,该对象表示的可执行文件。
|
Type |
Method.getGenericReturnType()
返回一个
Type 表示这
方法 对象表示法的形式返回类型。
|
Type |
Field.getGenericType()
返回一个
Type 表示声明类型的
Field 对象表示的场。
|
Type[] |
WildcardType.getLowerBounds()
返回
Type 对象代表下界的数组(S)这种类型的变量。
|
Type |
ParameterizedType.getOwnerType()
返回一个表示该类型的成员
Type 对象类型。
|
Type |
Parameter.getParameterizedType()
返回一个
Type 对象标识的参数化类型的
Parameter 对象表示的参数。
|
Type |
ParameterizedType.getRawType()
返回表示的类或接口声明此类型的
Type 对象。
|
Type |
AnnotatedType.getType()
返回此注释类型表示的基础类型。
|
Type[] |
WildcardType.getUpperBounds()
返回
Type 对象代表上界的数组(S)这种类型的变量。
|
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.