Package | Description |
---|---|
org.eclipse.jdt.core |
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
|
Modifier and Type | Method and Description |
---|---|
IImportDeclaration |
ICompilationUnit.createImport(String name,
IJavaElement sibling,
int flags,
IProgressMonitor monitor)
Creates and returns an import declaration in this compilation unit
with the given name.
|
IImportDeclaration |
ICompilationUnit.createImport(String name,
IJavaElement sibling,
IProgressMonitor monitor)
Creates and returns an non-static import declaration in this compilation unit
with the given name.
|
IImportDeclaration |
ICompilationUnit.getImport(String name)
Returns the first import declaration in this compilation unit with the given name.
|
IImportDeclaration |
IImportContainer.getImport(String name)
Returns the first import declaration in this import container with the given name.
|
IImportDeclaration[] |
ICompilationUnit.getImports()
Returns the import declarations in this compilation unit
in the order in which they appear in the source.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.