public abstract class CtLoopImpl extends CtStatementImpl implements CtLoop
ERROR_MESSAGE_TO_STRING, factory, LOGGER, parent
Constructor and Description |
---|
CtLoopImpl() |
Modifier and Type | Method and Description |
---|---|
CtLoop |
clone()
Clone the element which calls this method in a new object.
|
CtStatement |
getBody()
Gets the body of this loop.
|
CtCodeElement |
getSubstitution(CtType<?> targetType) |
java.lang.Void |
S()
Gets the type of the template parameter.
|
<T extends CtBodyHolder> |
setBody(CtStatement statement)
Sets the body of this element.
|
getLabel, insertAfter, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertBefore, setLabel
partiallyEvaluate
addAnnotation, addComment, asIterable, comment, delete, descendantIterator, emptyList, emptySet, equals, filterChildren, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getFactory, getMetadata, getMetadataKeys, getOriginalSourceFragment, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hashCode, hasParent, isImplicit, isParentInitialized, map, map, prettyprint, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setComments, setDocComment, setFactory, setImplicit, setParent, setPosition, setPositions, setValueByRole, toString, toStringDebug, unmodifiableList, updateAllParentsBelow
finalize, getClass, notify, notifyAll, wait, wait, wait
comment, getLabel, insertAfter, insertAfter, insertBefore, insertBefore, setLabel
partiallyEvaluate
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
public CtStatement getBody()
CtLoop
getBody
in interface CtBodyHolder
getBody
in interface CtLoop
public <T extends CtBodyHolder> T setBody(CtStatement statement)
CtBodyHolder
setBody
in interface CtBodyHolder
public CtLoop clone()
CtElement
Refactoring.copyType(CtType)
and Refactoring.copyMethod(CtMethod)
instead which does additional work beyond cloning.clone
in interface CtCodeElement
clone
in interface CtLoop
clone
in interface CtStatement
clone
in interface CtElement
clone
in class CtStatementImpl
public java.lang.Void S()
TemplateParameter
null
reference) but is used as a
marker in a template code.S
in interface TemplateParameter<java.lang.Void>
public CtCodeElement getSubstitution(CtType<?> targetType)
Copyright © 2007–2021 Inria. All rights reserved.