Package org.eclipse.jdt.core.dom.rewrite
package org.eclipse.jdt.core.dom.rewrite
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 ASTRewrite
and
ListRewrite
.
-
ClassDescriptionInfrastructure for modifying code by describing changes to AST nodes.The
ImportRewrite
helps updating imports following a import order and on-demand imports threshold as configured by a project.AImportRewrite.ImportRewriteContext
can optionally be used in e.g.Used to determine how a type will be used, so that unwanted annotations can be filtered, which is in particular relevant for avoiding redundant null annotations in the scope of@NonNullByDefault
.A tracked node position is returned when a rewrite change is requested to be tracked.For describing manipulations to a child list property of an AST node.An object for computing adjusted source ranges for AST nodes that are being replaced or deleted.Reified source range.