public interface CtTextBlock extends CtLiteral<java.lang.String>
String example = """ Test String """;The example above shows a TextBlock literal, in which the string is represented by CtTextBlock
Modifier and Type | Method and Description |
---|---|
CtTextBlock |
clone()
Overriding return type, a clone of a CtTextBlock returns a CtTextBlock
|
addTypeCast, getTypeCasts, setTypeCasts
partiallyEvaluate
getType, setType
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
S
CtTextBlock clone()
clone
in interface CtCodeElement
clone
in interface CtElement
clone
in interface CtExpression<java.lang.String>
clone
in interface CtLiteral<java.lang.String>
Copyright © 2007–2021 Inria. All rights reserved.