Package | Description |
---|---|
org.eclipse.wst.jsdt.core.dom.rewrite | |
org.eclipse.wst.jsdt.ui |
Modifier and Type | Method and Description |
---|---|
static ImportRewrite |
ImportRewrite.create(IJavaScriptUnit cu,
boolean restoreExistingImports)
Creates a
ImportRewrite from a IJavaScriptUnit . |
static ImportRewrite |
ImportRewrite.create(JavaScriptUnit astRoot,
boolean restoreExistingImports)
Creates a
ImportRewrite from a an AST (JavaScriptUnit ). |
Modifier and Type | Method and Description |
---|---|
static ImportRewrite |
CodeStyleConfiguration.createImportRewrite(IJavaScriptUnit cu,
boolean restoreExistingImports)
Returns a
ImportRewrite using create(IJavaScriptUnit, boolean) and
configures the rewriter with the settings as specified in the JDT UI preferences. |
static ImportRewrite |
CodeStyleConfiguration.createImportRewrite(JavaScriptUnit astRoot,
boolean restoreExistingImports)
Returns a
ImportRewrite using create(JavaScriptUnit, boolean) and
configures the rewriter with the settings as specified in the JDT UI preferences. |
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.