@Deprecated
public static class ASTFacadeHelper.ASTRewriteWithRemove
extends ASTRewrite
Modifier | Constructor and Description |
---|---|
protected |
ASTFacadeHelper.ASTRewriteWithRemove(AST ast)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Deprecated.
Disposes this ASTRewriteWithRemove
|
void |
remove(ASTNode parent,
ChildListPropertyDescriptor childProperty,
ASTNode node)
Deprecated.
Workaround method that removes nodes similar to
#remove(ASTNode, org.eclipse.text.edits.TextEditGroup) , but
it allows removal of newly created and inserted nodes that were not a part of original tree. |
protected ASTFacadeHelper.ASTRewriteWithRemove(AST ast)
public void dispose()
public void remove(ASTNode parent, ChildListPropertyDescriptor childProperty, ASTNode node)
#remove(ASTNode, org.eclipse.text.edits.TextEditGroup)
, but
it allows removal of newly created and inserted nodes that were not a part of original tree.
Note that #remove(ASTNode, org.eclipse.text.edits.TextEditGroup)
does not remove newly created nodes that
have been inserted with ListRewrite#insertFirst(ASTNode, org.eclipse.text.edits.TextEditGroup)
or
similar methods.
Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=164862
parent
- childProperty
- node
-