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 |
---|---|
IPackageDeclaration |
ICompilationUnit.createPackageDeclaration(String name,
IProgressMonitor monitor)
Creates and returns a package declaration in this compilation unit
with the given package name.
|
IPackageDeclaration |
ICompilationUnit.getPackageDeclaration(String name)
Returns the first package declaration in this compilation unit with the given package name
(there normally is at most one package declaration).
|
IPackageDeclaration[] |
ICompilationUnit.getPackageDeclarations()
Returns the package 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.