|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.RewriteEvent
public abstract class RewriteEvent
| Field Summary | |
|---|---|
static int |
CHILDREN_CHANGED
Change kind to signal that children changed. |
static int |
INSERTED
Change kind to describe that the event is an insert event. |
static int |
REMOVED
Change kind to describe that the event is an remove event. |
static int |
REPLACED
Change kind to describe that the event is an replace event. |
static int |
UNCHANGED
Change kind to signal that the property did not change |
| Constructor Summary | |
|---|---|
RewriteEvent()
|
|
| Method Summary | |
|---|---|
abstract int |
getChangeKind()
|
abstract RewriteEvent[] |
getChildren()
|
abstract java.lang.Object |
getNewValue()
|
abstract java.lang.Object |
getOriginalValue()
|
abstract boolean |
isListRewrite()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INSERTED
public static final int REMOVED
public static final int REPLACED
public static final int CHILDREN_CHANGED
public static final int UNCHANGED
| Constructor Detail |
|---|
public RewriteEvent()
| Method Detail |
|---|
public abstract int getChangeKind()
public abstract boolean isListRewrite()
public abstract java.lang.Object getOriginalValue()
List of ASTNode's, for non-list
events this can be an ASTNode (for node properties), Integer (for an integer property),
Boolean (for boolean node properties) or properties like Operator.
null is returned if the event is a insert event.public abstract java.lang.Object getNewValue()
List of ASTNode's, for non-list
events this can be an ASTNode (for node properties), Integer (for an integer property),
Boolean (for boolean node properties) or properties like Operator.
null is returned if the event is a remove event.public abstract RewriteEvent[] getChildren()
null if the
event is not a list event.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||