Package | Description |
---|---|
org.eclipse.jdt.core.dom |
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
|
Modifier and Type | Method and Description |
---|---|
PackageDeclaration |
CompilationUnit.getPackage()
Returns the node for the package declaration of this compilation
unit, or
null if this compilation unit is in the
default package. |
PackageDeclaration |
AST.newPackageDeclaration()
Creates an unparented package declaration node owned by this AST.
|
Modifier and Type | Method and Description |
---|---|
void |
ASTVisitor.endVisit(PackageDeclaration node)
End of visit the given type-specific AST node.
|
boolean |
ASTMatcher.match(PackageDeclaration node,
Object other)
Returns whether the given node and the other object match.
|
void |
CompilationUnit.setPackage(PackageDeclaration pkgDecl)
Sets or clears the package declaration of this compilation unit
node to the given package declaration node.
|
boolean |
ASTVisitor.visit(PackageDeclaration node)
Visits the given type-specific AST node.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.