01: /* Generated By:JJTree: Do not edit this line. ASTConstructorDeclaration.java */
02:
03: package net.sourceforge.pmd.ast;
04:
05: public class ASTConstructorDeclaration extends AccessNode {
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 int getParameterCount() {
15: return ((ASTFormalParameters) jjtGetChild(0))
16: .getParameterCount();
17: }
18:
19: /**
20: * Accept the visitor. *
21: */
22: public Object jjtAccept(JavaParserVisitor visitor, Object data) {
23: return visitor.visit(this , data);
24: }
25:
26: private boolean containsComment;
27:
28: public boolean containsComment() {
29: return this .containsComment;
30: }
31:
32: public void setContainsComment() {
33: this .containsComment = true;
34: }
35:
36: public void dump(String prefix) {
37: System.out.println(collectDumpedModifiers(prefix));
38: dumpChildren(prefix);
39: }
40:
41: }
|