Uses of Class
org.eclipse.jdt.core.dom.rewrite.ImportRewrite
Packages that use ImportRewrite
Package
Description
The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree.
Application programming interface for the JDT core manipulation plug-in class.
Application programming interfaces for interaction
with the Eclipse Java User Interface.
Application programming interfaces for correction proposals.
-
Uses of ImportRewrite in org.eclipse.jdt.core.dom.rewrite
Methods in org.eclipse.jdt.core.dom.rewrite that return ImportRewriteModifier and TypeMethodDescriptionstatic ImportRewrite
ImportRewrite.create
(CompilationUnit astRoot, boolean restoreExistingImports) Creates anImportRewrite
from an AST (CompilationUnit
).static ImportRewrite
ImportRewrite.create
(ICompilationUnit cu, boolean restoreExistingImports) Creates anImportRewrite
from anICompilationUnit
. -
Uses of ImportRewrite in org.eclipse.jdt.core.manipulation
Methods in org.eclipse.jdt.core.manipulation that return ImportRewriteModifier and TypeMethodDescriptionstatic ImportRewrite
CodeStyleConfiguration.createImportRewrite
(CompilationUnit astRoot, boolean restoreExistingImports) Returns aImportRewrite
usingcreate(CompilationUnit, boolean)
and configures the rewriter with the settings as specified in the JDT UI preferences.static ImportRewrite
CodeStyleConfiguration.createImportRewrite
(ICompilationUnit cu, boolean restoreExistingImports) Returns aImportRewrite
usingcreate(ICompilationUnit, boolean)
and configures the rewriter with the settings as specified in the JDT UI preferences. -
Uses of ImportRewrite in org.eclipse.jdt.ui
Methods in org.eclipse.jdt.ui that return ImportRewriteModifier and TypeMethodDescriptionstatic ImportRewrite
CodeStyleConfiguration.createImportRewrite
(CompilationUnit astRoot, boolean restoreExistingImports) Returns aImportRewrite
usingcreate(CompilationUnit, boolean)
and configures the rewriter with the settings as specified in the JDT UI preferences.static ImportRewrite
CodeStyleConfiguration.createImportRewrite
(ICompilationUnit cu, boolean restoreExistingImports) Returns aImportRewrite
usingcreate(ICompilationUnit, boolean)
and configures the rewriter with the settings as specified in the JDT UI preferences. -
Uses of ImportRewrite in org.eclipse.jdt.ui.text.java.correction
Methods in org.eclipse.jdt.ui.text.java.correction that return ImportRewriteModifier and TypeMethodDescriptionASTRewriteCorrectionProposal.createImportRewrite
(CompilationUnit astRoot) ASTRewriteCorrectionProposal.getImportRewrite()
Returns the import rewrite used for this compilation unit.Methods in org.eclipse.jdt.ui.text.java.correction with parameters of type ImportRewriteModifier and TypeMethodDescriptionvoid
ASTRewriteCorrectionProposal.setImportRewrite
(ImportRewrite rewrite) Sets the import rewrite used for this compilation unit.