protected abstract class ASTJCompilationUnit.AbstractRewriter
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
ASTJCompilationUnit.AbstractRewriter() |
Modifier and Type | Method and Description |
---|---|
protected abstract TextEdit |
addEdits(TextEdit existingEdits,
IDocument doc) |
TextEdit |
createEdits(TextEdit existingEdits,
IDocument doc)
Creates additional edits to be applied on the document
|
protected ASTJCompilationUnit.AbstractRewriter()
public TextEdit createEdits(TextEdit existingEdits, IDocument doc)
existingEdits
- existing edits ondoc
- document after call to ASTRewrite#rewriteAST()
or ASTRewrite#rewriteAST(IDocument, Map)
.protected abstract TextEdit addEdits(TextEdit existingEdits, IDocument doc)