public interface CtTypedElement<T> extends CtElement
Modifier and Type | Method and Description |
---|---|
CtTypeReference<T> |
getType()
Gets this element's type.
|
<C extends CtTypedElement> |
setType(CtTypeReference<T> type)
Sets this element's type.
|
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
CtTypeReference<T> getType()
<C extends CtTypedElement> C setType(CtTypeReference<T> type)
Copyright © 2007–2021 Inria. All rights reserved.