public interface CtFormalTypeDeclarer extends CtTypeMember
class A<E>
), CtMethod or CtConstructor.Modifier and Type | Method and Description |
---|---|
<T extends CtFormalTypeDeclarer> |
addFormalCtTypeParameter(CtTypeParameter formalTypeParameter)
Add a type parameter to this generic element.
|
java.util.List<CtTypeParameter> |
getFormalCtTypeParameters()
Returns the formal type parameters of this generic element.
|
boolean |
removeFormalCtTypeParameter(CtTypeParameter formalTypeParameter)
Removes a type parameters from this generic element.
|
<T extends CtFormalTypeDeclarer> |
setFormalCtTypeParameters(java.util.List<CtTypeParameter> formalTypeParameters)
Sets the type parameters of this generic element.
|
getDeclaringType, getTopLevelType
addModifier, getExtendedModifiers, getModifiers, getVisibility, hasModifier, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, removeModifier, setExtendedModifiers, setModifiers, setVisibility
clone, getReference, getSimpleName, setSimpleName
addAnnotation, addComment, asIterable, delete, descendantIterator, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getMetadata, getMetadataKeys, getOriginalSourceFragment, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hasParent, isImplicit, isParentInitialized, prettyprint, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setComments, setDocComment, setImplicit, setParent, setPosition, setPositions, setValueByRole, toString, toStringDebug, updateAllParentsBelow
getFactory, setFactory
accept
filterChildren, map, map
java.util.List<CtTypeParameter> getFormalCtTypeParameters()
<T extends CtFormalTypeDeclarer> T setFormalCtTypeParameters(java.util.List<CtTypeParameter> formalTypeParameters)
<T extends CtFormalTypeDeclarer> T addFormalCtTypeParameter(CtTypeParameter formalTypeParameter)
boolean removeFormalCtTypeParameter(CtTypeParameter formalTypeParameter)
Copyright © 2007–2021 Inria. All rights reserved.