public class CtOperatorAssignmentImpl<T,A extends T> extends CtAssignmentImpl<T,A> implements CtOperatorAssignment<T,A>
ERROR_MESSAGE_TO_STRING, factory, LOGGER, parent
Constructor and Description |
---|
CtOperatorAssignmentImpl() |
Modifier and Type | Method and Description |
---|---|
void |
accept(CtVisitor visitor)
Accepts a visitor
|
CtOperatorAssignment<T,A> |
clone()
Clone the element which calls this method in a new object.
|
BinaryOperatorKind |
getKind()
Gets the operator kind.
|
<C extends CtOperatorAssignment<T,A>> |
setKind(BinaryOperatorKind kind)
Sets the operator kind.
|
addTypeCast, getAssigned, getAssignment, getType, getTypeCasts, S, setAssigned, setAssignment, setType, setTypeCasts
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
getAssigned, setAssigned
comment, getLabel, insertAfter, insertAfter, insertBefore, insertBefore, setLabel
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
filterChildren, map, map
S
getAssignment, setAssignment
public void accept(CtVisitor visitor)
CtVisitable
accept
in interface CtVisitable
accept
in class CtAssignmentImpl<T,A extends T>
public BinaryOperatorKind getKind()
CtOperatorAssignment
getKind
in interface CtOperatorAssignment<T,A extends T>
public <C extends CtOperatorAssignment<T,A>> C setKind(BinaryOperatorKind kind)
CtOperatorAssignment
setKind
in interface CtOperatorAssignment<T,A extends T>
public CtOperatorAssignment<T,A> clone()
CtElement
Refactoring.copyType(CtType)
and Refactoring.copyMethod(CtMethod)
instead which does additional work beyond cloning.clone
in interface CtAssignment<T,A extends T>
clone
in interface CtCodeElement
clone
in interface CtExpression<T>
clone
in interface CtOperatorAssignment<T,A extends T>
clone
in interface CtStatement
clone
in interface CtElement
clone
in class CtAssignmentImpl<T,A extends T>
Copyright © 2007–2021 Inria. All rights reserved.