Uses of Class
org.eclipse.jdt.core.dom.PackageDeclaration
Packages that use PackageDeclaration
Package
Description
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
Application programming interface for the JDT core manipulation plug-in class.
-
Uses of PackageDeclaration in org.eclipse.jdt.core.dom
Methods in org.eclipse.jdt.core.dom that return PackageDeclarationModifier and TypeMethodDescriptionCompilationUnit.getPackage()Returns the node for the package declaration of this compilation unit, ornullif this compilation unit is in the default package.AST.newPackageDeclaration()Creates an unparented package declaration node owned by this AST.Methods in org.eclipse.jdt.core.dom with parameters of type PackageDeclarationModifier and TypeMethodDescriptionvoidASTVisitor.endVisit(PackageDeclaration node) End of visit the given type-specific AST node.booleanASTMatcher.match(PackageDeclaration node, Object other) Returns whether the given node and the other object match.voidCompilationUnit.setPackage(PackageDeclaration pkgDecl) Sets or clears the package declaration of this compilation unit node to the given package declaration node.booleanASTVisitor.visit(PackageDeclaration node) Visits the given type-specific AST node. -
Uses of PackageDeclaration in org.eclipse.jdt.core.manipulation
Methods in org.eclipse.jdt.core.manipulation with parameters of type PackageDeclarationModifier and TypeMethodDescriptionbooleanImportReferencesCollector.visit(PackageDeclaration node)