public interface GenericDeclaration extends AnnotatedElement
Modifier and Type | Method and Description |
---|---|
TypeVariable<?>[] |
getTypeParameters()
返回表示该类型声明的变量通过
GenericDeclaration 对象表示的泛型声明
TypeVariable 对象的数组,在声明顺序。
|
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, isAnnotationPresent
TypeVariable<?>[] getTypeParameters()
TypeVariable
对象表示的类型变量的声明通过
GenericDeclaration
对象表示的泛型声明一个数组,在声明顺序。返回一个长度为0的数组,如果下一个基本的泛型声明声明没有类型变量。
TypeVariable
对象表示的类型的变量声明的泛型声明数组
GenericSignatureFormatError
-如果这个泛型声明泛型签名不符合规定的格式,在
The Java™ Virtual Machine Specification
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.