@Beta public interface MutableTypeParameterDeclarator extends MutableMemberDeclaration, TypeParameterDeclarator
| Modifier and Type | Method and Description |
|---|---|
MutableTypeParameterDeclaration |
addTypeParameter(String name,
TypeReference... upperBounds)
Creates and adds a new
MutableTypeParameterDeclaration to this
declarator. |
Iterable<? extends MutableTypeParameterDeclaration> |
getTypeParameters() |
getDeclaringType, setDeprecated, setDocComment, setVisibilitymarkAsReadaddAnnotation, removeAnnotationsetSimpleNameremovegetDocComment, getModifiers, getVisibility, isDeprecatedfindAnnotation, getAnnotationsgetCompilationUnit, getSimpleNameIterable<? extends MutableTypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface TypeParameterDeclaratorMutableTypeParameterDeclaration addTypeParameter(String name, TypeReference... upperBounds)
MutableTypeParameterDeclaration to this
declarator.name - the name of the type parameterupperBounds - the upperboundsMutableTypeParameterDeclarationIllegalArgumentException - name is not a valid java identifierupperBounds is null or contains nullCopyright © 2015. All Rights Reserved.