Interface TypeParameterTree
- All Superinterfaces:
- Tree
A tree node for a type parameter.
 For example:
 
name name extends bounds annotations name
- See Java Language Specification:
- 
4.4 Type Variables
- Since:
- 1.6
- 
Nested Class Summary
- 
Method SummaryModifier and TypeMethodDescriptionList<? extends AnnotationTree> Returns annotations on the type parameter declaration.Returns the bounds of the type parameter.getName()Returns the name of the type parameter.
- 
Method Details- 
getName
- 
getBounds
- 
getAnnotationsList<? extends AnnotationTree> getAnnotations()Returns annotations on the type parameter declaration. Annotations need Target meta-annotations ofElementType.TYPE_PARAMETERorElementType.TYPE_USEto appear in this position.- Returns:
- annotations on the type parameter declaration
- Since:
- 1.8
 
 
-