public interface CtBodyHolder extends CtElement
Modifier and Type | Method and Description |
---|---|
CtStatement |
getBody()
Gets the body of this element
|
<T extends CtBodyHolder> |
setBody(CtStatement body)
Sets the body of this 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
CtStatement getBody()
<T extends CtBodyHolder> T setBody(CtStatement body)
Copyright © 2007–2021 Inria. All rights reserved.