Module org.eclipse.xtend.lib.macro
Interface MutableTypeParameterDeclaration
- All Superinterfaces:
AnnotationTarget,Declaration,Element,MutableAnnotationTarget,MutableDeclaration,MutableElement,MutableNamedElement,NamedElement,Type,TypeParameterDeclaration
@Beta
public interface MutableTypeParameterDeclaration
extends MutableDeclaration, TypeParameterDeclaration
- Author:
- Sven Efftinge
-
Method Summary
Modifier and TypeMethodDescriptionaddAnnotation(AnnotationReference annotationReference) This operation is not supported.booleanremoveAnnotation(AnnotationReference annotationReference) This operation is not supported.voidsetUpperBounds(Iterable<? extends TypeReference> upperBounds) Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
findAnnotation, getAnnotationsMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableDeclaration
markAsReadMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableElement
removeMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableNamedElement
setSimpleNameMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.NamedElement
getCompilationUnit, getSimpleNameMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.Type
getQualifiedName, isAssignableFromMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.TypeParameterDeclaration
getUpperBounds
-
Method Details
-
getTypeParameterDeclarator
MutableTypeParameterDeclarator getTypeParameterDeclarator()- Specified by:
getTypeParameterDeclaratorin interfaceTypeParameterDeclaration- Returns:
- the
TypeParameterDeclaratordeclaring the type parameter
-
setUpperBounds
- Parameters:
upperBounds- - the upper bounds, must not benull- Throws:
IllegalArgumentException- ifupperBoundsisnullor containsnull
-
addAnnotation
This operation is not supported.- Specified by:
addAnnotationin interfaceMutableAnnotationTarget- Parameters:
annotationReference- the annotation reference- Returns:
- a new annotation reference
- Throws:
UnsupportedOperationException- always
-
removeAnnotation
This operation is not supported.- Specified by:
removeAnnotationin interfaceMutableAnnotationTarget- Parameters:
annotationReference- the annotation reference- Returns:
trueif this element contained the specified annotation- Throws:
UnsupportedOperationException- always
-