Modifier and Type | Method and Description |
---|---|
Type |
getGenericComponentType()
返回表示此数组的组件类型的
Type 对象。
|
getTypeName
Type getGenericComponentType()
Type
对象,表示该数组的组件类型
TypeNotPresentException
- 如果底层数组类型的组件类型引用不存在的类型声明
MalformedParameterizedTypeException
- 如果底层数组类型的组件类型是指由于任何原因无法实例化的参数化类型
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.