Class ASTModuleDeclaration

java.lang.Object
net.sourceforge.pmd.lang.ast.impl.AbstractNode<net.sourceforge.pmd.lang.java.ast.AbstractJavaNode,JavaNode>
net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode<net.sourceforge.pmd.lang.java.ast.AbstractJavaNode,JavaNode>
net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration
All Implemented Interfaces:
GenericNode<JavaNode>, JjtreeNode<JavaNode>, Node, TextAvailableNode, Annotatable, JavadocCommentOwner, JavaNode, Reportable

public final class ASTModuleDeclaration extends AbstractJjtreeNode<net.sourceforge.pmd.lang.java.ast.AbstractJavaNode,JavaNode> implements Annotatable, JavadocCommentOwner
A module declaration. This is found at the top-level of a modular compilation unit.

 ModuleDeclaration ::= AnnotationList "open"?
                       "module" ModuleName
                       "{" ModuleDirective* "}"