@Deprecated
public static class ASTFacadeHelper.ASTRewriteWithRemove
extends ASTRewrite
| Modifier | Constructor and Description |
|---|---|
protected |
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. |
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 - Copyright © 2021. Licensed under the Eclipse Public License v2.0. All rights reserved.
Submit a bug or feature