Package | Description |
---|---|
javax.ide.model.java.source |
Various interfaces for use with Tree objects.
|
javax.ide.model.java.source.tree |
The Java AST.
|
Modifier and Type | Method and Description |
---|---|
abstract PackageT |
TreeFactory.createPackageDeclaration(java.lang.String name)
Creates a package declaration.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeVisitor.visitPackageDeclaration(PackageT tree)
Visits a PackageT.
|
Modifier and Type | Method and Description |
---|---|
PackageT |
FileT.getPackage()
Gets the package declaration.
|
PackageT |
ClassT.getPackageDeclaration()
Gets the owning package declaration, null if none..
|
Modifier and Type | Method and Description |
---|---|
void |
FileT.setPackage(PackageT packageD)
Attempts to set the package declaration.
|