public static class NewTypeWizardPage.ImportsManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
addImport(ITypeBinding typeBinding)
Adds a new import declaration that is sorted in the existing imports.
|
java.lang.String |
addImport(java.lang.String qualifiedTypeName)
Adds a new import declaration that is sorted in the existing imports.
|
java.lang.String |
addStaticImport(java.lang.String declaringTypeName,
java.lang.String simpleName,
boolean isField)
Adds a new import declaration for a static type that is sorted in the existing imports.
|
public java.lang.String addImport(java.lang.String qualifiedTypeName)
qualifiedTypeName - The fully qualified name of the type to import
(dot separated).public java.lang.String addImport(ITypeBinding typeBinding)
typeBinding - the binding of the type to importpublic java.lang.String addStaticImport(java.lang.String declaringTypeName,
java.lang.String simpleName,
boolean isField)
declaringTypeName - The qualified name of the static's member declaring typesimpleName - the simple name of the member; either a field or a method name.isField - true specifies that the member is a field, false if it is a
method.Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.