org.eclipse.jdt.core.dom.rewrite |
Package-level Javadoc
The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree.
Package Specification
This package contains the Java DOM/AST classes used to make changes to an existing DOM/AST tree.
The principal classes are {@link org.eclipse.jdt.core.dom.rewrite.ASTRewrite ASTRewrite} and
{@link org.eclipse.jdt.core.dom.rewrite.ListRewrite ListRewrite}.
|
Java Source File Name | Type | Comment |
ASTRewrite.java | Class | Infrastructure for modifying code by describing changes to AST nodes.
The AST rewriter collects descriptions of modifications to nodes and
translates these descriptions into text edits that can then be applied to
the original source. |
ImportRewrite.java | Class | The
ImportRewrite helps updating imports following a import order and on-demand imports threshold as configured by a project.
The import rewrite is created on a compilation unit and collects references to types that are added or removed. |
ITrackedNodePosition.java | Interface | A tracked node position is returned when a rewrite change is
requested to be tracked. |
ListRewrite.java | Class | For describing manipulations to a child list property of an AST node. |
TargetSourceRangeComputer.java | Class | An object for computing adjusted source ranges for AST nodes
that are being replaced or deleted.
For example, a refactoring like inline method may choose to replace
calls to the method but leave intact any comments immediately preceding
the calls. |