Package | Description |
---|---|
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.
|
org.eclipse.jdt.ui |
Application programming interfaces for interaction
with the Eclipse Java User Interface.
|
org.eclipse.jdt.ui.text.java.correction |
Application programming interfaces for correction proposals.
|
Modifier and Type | Method and Description |
---|---|
static ImportRewrite |
ImportRewrite.create(CompilationUnit astRoot,
boolean restoreExistingImports)
Creates an
ImportRewrite from an AST (CompilationUnit ). |
static ImportRewrite |
ImportRewrite.create(ICompilationUnit cu,
boolean restoreExistingImports)
Creates an
ImportRewrite from an ICompilationUnit . |
Modifier and Type | Method and Description |
---|---|
static ImportRewrite |
CodeStyleConfiguration.createImportRewrite(CompilationUnit astRoot,
boolean restoreExistingImports)
Returns a
ImportRewrite using create(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 a
ImportRewrite using create(ICompilationUnit, boolean) and
configures the rewriter with the settings as specified in the JDT UI preferences. |
Modifier and Type | Method and Description |
---|---|
ImportRewrite |
ASTRewriteCorrectionProposal.createImportRewrite(CompilationUnit astRoot)
Creates and sets the import rewrite used for this compilation unit.
|
ImportRewrite |
ASTRewriteCorrectionProposal.getImportRewrite()
Returns the import rewrite used for this compilation unit.
|
Modifier and Type | Method and Description |
---|---|
void |
ASTRewriteCorrectionProposal.setImportRewrite(ImportRewrite rewrite)
Sets the import rewrite used for this compilation unit.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.