@Beta public interface MutableTypeParameterDeclaration extends MutableDeclaration, TypeParameterDeclaration
| Modifier and Type | Method and Description |
|---|---|
AnnotationReference |
addAnnotation(AnnotationReference annotationReference)
This operation is not supported.
|
MutableTypeParameterDeclarator |
getTypeParameterDeclarator() |
boolean |
removeAnnotation(AnnotationReference annotationReference)
This operation is not supported.
|
void |
setUpperBounds(java.lang.Iterable<? extends TypeReference> upperBounds) |
markAsReadsetSimpleNameremovegetUpperBoundsgetQualifiedName, isAssignableFromfindAnnotation, getAnnotationsMutableTypeParameterDeclarator getTypeParameterDeclarator()
getTypeParameterDeclarator in interface TypeParameterDeclarationTypeParameterDeclarator declaring the type parametervoid setUpperBounds(java.lang.Iterable<? extends TypeReference> upperBounds)
upperBounds - - the upper bounds, must not be nulljava.lang.IllegalArgumentException - if upperBounds is null or contains nullAnnotationReference addAnnotation(AnnotationReference annotationReference)
addAnnotation in interface MutableAnnotationTargetannotationReference - the annotation referencejava.lang.UnsupportedOperationException - alwaysboolean removeAnnotation(AnnotationReference annotationReference)
removeAnnotation in interface MutableAnnotationTargetannotationReference - the annotation referencetrue if this element contained the specified annotationjava.lang.UnsupportedOperationException - always