Class NodeRewriteEvent
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.RewriteEvent
org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.NodeRewriteEvent
-
Field Summary
Fields inherited from class RewriteEvent
CHILDREN_CHANGED, INSERTED, REMOVED, REPLACED, UNCHANGEDModifier and TypeFieldDescriptionstatic final intChange kind to signal that children changed.static final intChange kind to describe that the event is an insert event.static final intChange kind to describe that the event is an remove event.static final intChange kind to describe that the event is an replace event.static final intChange kind to signal that the property did not change -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NodeRewriteEvent
-
-
Method Details
-
getNewValue
- Specified by:
getNewValuein classRewriteEvent- Returns:
- Returns the new value.
-
getOriginalValue
- Specified by:
getOriginalValuein classRewriteEvent- Returns:
- Returns the original value.
-
getChangeKind
public int getChangeKind()- Specified by:
getChangeKindin classRewriteEvent- Returns:
- Returns the event's change kind.
-
isListRewrite
public boolean isListRewrite()- Specified by:
isListRewritein classRewriteEvent- Returns:
- Returns true if the given event is a list event.
-
setNewValue
-
getChildren
- Specified by:
getChildrenin classRewriteEvent- Returns:
- Return the events describing the changes in a list. returns
nullif the event is not a list event.
-
toString
-