Interface MutableTypeParameterDeclaration
-
- All Superinterfaces:
AnnotationTarget,Declaration,Element,MutableAnnotationTarget,MutableDeclaration,MutableElement,MutableNamedElement,NamedElement,Type,TypeParameterDeclaration
@Beta public interface MutableTypeParameterDeclaration extends MutableDeclaration, TypeParameterDeclaration
- Noimplement:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotationReferenceaddAnnotation(AnnotationReference annotationReference)This operation is not supported.MutableTypeParameterDeclaratorgetTypeParameterDeclarator()booleanremoveAnnotation(AnnotationReference annotationReference)This operation is not supported.voidsetUpperBounds(java.lang.Iterable<? extends TypeReference> upperBounds)-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
findAnnotation, getAnnotations
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableDeclaration
markAsRead
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableElement
remove
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableNamedElement
setSimpleName
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.NamedElement
getCompilationUnit, getSimpleName
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.Type
getQualifiedName, isAssignableFrom
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.TypeParameterDeclaration
getUpperBounds
-
-
-
-
Method Detail
-
getTypeParameterDeclarator
MutableTypeParameterDeclarator getTypeParameterDeclarator()
- Specified by:
getTypeParameterDeclaratorin interfaceTypeParameterDeclaration- Returns:
- the
TypeParameterDeclaratordeclaring the type parameter
-
setUpperBounds
void setUpperBounds(java.lang.Iterable<? extends TypeReference> upperBounds)
- Parameters:
upperBounds- - the upper bounds, must not benull- Throws:
java.lang.IllegalArgumentException- ifupperBoundsisnullor containsnull
-
addAnnotation
AnnotationReference addAnnotation(AnnotationReference annotationReference)
This operation is not supported.- Specified by:
addAnnotationin interfaceMutableAnnotationTarget- Parameters:
annotationReference- the annotation reference- Returns:
- a new annotation reference
- Throws:
java.lang.UnsupportedOperationException- always
-
removeAnnotation
boolean removeAnnotation(AnnotationReference annotationReference)
This operation is not supported.- Specified by:
removeAnnotationin interfaceMutableAnnotationTarget- Parameters:
annotationReference- the annotation reference- Returns:
trueif this element contained the specified annotation- Throws:
java.lang.UnsupportedOperationException- always
-
-