ASTConstructorDeclaration.java
01 /* Generated By:JJTree: Do not edit this line. ASTConstructorDeclaration.java */
02 
03 package net.sourceforge.pmd.lang.java.ast;
04 
05 public class ASTConstructorDeclaration extends AbstractJavaAccessNode {
06     public ASTConstructorDeclaration(int id) {
07         super(id);
08     }
09 
10     public ASTConstructorDeclaration(JavaParser p, int id) {
11         super(p, id);
12     }
13 
14     public ASTFormalParameters getParameters() {
15         return (ASTFormalParameters) (jjtGetChild(0instanceof ASTFormalParameters?jjtGetChild(0):jjtGetChild(1));
16     }
17 
18     public int getParameterCount() {
19         return getParameters().getParameterCount();
20     }
21 
22 
23     /**
24      * Accept the visitor. *
25      */
26     public Object jjtAccept(JavaParserVisitor visitor, Object data) {
27         return visitor.visit(this, data);
28     }
29 
30     private boolean containsComment;
31 
32     public boolean containsComment() {
33         return this.containsComment;
34     }
35 
36     public void setContainsComment() {
37         this.containsComment = true;
38     }
39 }