- 所有父级接口:
AnnotatedConstruct
,Element
- 所有已知的子接口:
ExecutableElement
,TypeElement
具有类型参数的元素的混合接口。
- 自从:
- 1.7
-
方法总结
在接口 javax.lang.model.element.Element 中声明的方法
accept, asType, equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName, hashCode
-
方法详情
-
getTypeParameters
List <? extends TypeParameterElement > getTypeParameters()按声明顺序返回元素的正式类型参数。- 返回:
- 形式类型参数,如果没有则为空列表
-