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.
|
Modifier and Type | Method and Description |
---|---|
static ImportRewrite |
ImportRewrite.create(CompilationUnit astRoot,
boolean restoreExistingImports)
Creates a
ImportRewrite from a an AST (CompilationUnit ). |
static ImportRewrite |
ImportRewrite.create(ICompilationUnit cu,
boolean restoreExistingImports)
Creates a
ImportRewrite from a 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. |
Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.