| Package | Description | 
|---|---|
| oracle.javatools.parser.java.v2 | 
 The parser API. 
 | 
| oracle.javatools.parser.java.v2.model | 
 The parser model API. 
 | 
| oracle.javatools.parser.java.v2.util | 
 Various utilities for use with the parser. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract SourcePackage | 
SourceFactory.createPackageDeclaration(java.lang.String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
SourcePackage | 
SourceFile.getSourcePackage()
Gets the package declaration. 
 | 
SourcePackage | 
SourceClass.getSourcePackage()
Gets the owning package declaration. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
SourceFile.setSourcePackage(SourcePackage packageD)
Attempts to set the package declaration. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
SourceVisitor.whenEnterPackageDeclaration(SourcePackage sourcePackage)  | 
void | 
SourceVisitor.whenExitPackageDeclaration(SourcePackage sourcePackage)  |