public interface CtMultiTypedElement extends CtElement
Modifier and Type | Method and Description |
---|---|
<T extends CtMultiTypedElement> |
addMultiType(CtTypeReference<?> ref)
Adds a type for the element.
|
java.util.List<CtTypeReference<?>> |
getMultiTypes()
Gets all types of the element.
|
boolean |
removeMultiType(CtTypeReference<?> ref)
Removes a type for the element.
|
<T extends CtMultiTypedElement> |
setMultiTypes(java.util.List<CtTypeReference<?>> types)
Adds a type for the element.
|
addAnnotation, addComment, asIterable, clone, 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
<T extends CtMultiTypedElement> T addMultiType(CtTypeReference<?> ref)
boolean removeMultiType(CtTypeReference<?> ref)
java.util.List<CtTypeReference<?>> getMultiTypes()
<T extends CtMultiTypedElement> T setMultiTypes(java.util.List<CtTypeReference<?>> types)
Copyright © 2007–2021 Inria. All rights reserved.