Package | Description |
---|---|
org.eclipse.wst.jsdt.core.dom.rewrite |
Modifier and Type | Method and Description |
---|---|
ImportRewrite.ImportRewriteContext |
ImportRewrite.getDefaultImportRewriteContext()
Returns the default rewrite context that only knows about the imported types.
|
Modifier and Type | Method and Description |
---|---|
Type |
ImportRewrite.addImport(ITypeBinding binding,
AST ast,
ImportRewrite.ImportRewriteContext context)
Adds a new import to the rewriter's record and returns a
Type that can be used
in the code. |
java.lang.String |
ImportRewrite.addImport(ITypeBinding binding,
ImportRewrite.ImportRewriteContext context)
Adds a new import to the rewriter's record and returns a type reference that can be used
in the code.
|
java.lang.String |
ImportRewrite.addImport(java.lang.String qualifiedTypeName,
java.lang.String packageName,
ImportRewrite.ImportRewriteContext context)
Adds a new import to the rewriter's record and returns a type reference that can be used
in the code.
|
Type |
ImportRewrite.addImportFromSignature(java.lang.String typeSig,
AST ast,
ImportRewrite.ImportRewriteContext context)
Adds a new import to the rewriter's record and returns a
Type node that can be used
in the code as a reference to the type. |
java.lang.String |
ImportRewrite.addStaticImport(IBinding binding,
ImportRewrite.ImportRewriteContext context)
Adds a new static import to the rewriter's record and returns a reference that can be used in the code.
|
java.lang.String |
ImportRewrite.addStaticImport(java.lang.String declaringTypeName,
java.lang.String simpleName,
boolean isField,
ImportRewrite.ImportRewriteContext context)
Adds a new static import to the rewriter's record and returns a reference that can be used in the code.
|
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.