public interface CtOperatorAssignment<T,A extends T> extends CtAssignment<T,A>
int x = 0; x *= 3; // <-- a CtOperatorAssignment
Modifier and Type | Method and Description |
---|---|
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.
|
getAssigned, setAssigned
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, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hasParent, isImplicit, isParentInitialized, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setComments, setDocComment, setImplicit, setParent, setPosition, setPositions, setValueByRole, updateAllParentsBelow
getFactory, setFactory
accept
filterChildren, map, map
getOriginalSourceFragment
S
getAssignment, setAssignment
<C extends CtOperatorAssignment<T,A>> C setKind(BinaryOperatorKind kind)
BinaryOperatorKind getKind()
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 CtElement
clone
in interface CtExpression<T>
clone
in interface CtStatement
Copyright © 2007–2019 Inria. All rights reserved.