Uses of Class
org.eclipse.jdt.core.dom.rewrite.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
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionASTRewriteCorrectionProposal.createImportRewrite
(CompilationUnit astRoot) ASTRewriteCorrectionProposal.getImportRewrite()
Returns the import rewrite used for this compilation unit.Modifier and TypeMethodDescriptionvoid
ASTRewriteCorrectionProposal.setImportRewrite
(ImportRewrite rewrite) Sets the import rewrite used for this compilation unit.