/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ /* Generated By:JJTree: Do not edit this line. ASTConstructorDeclaration.java */ package net.sourceforge.pmd.lang.java.ast; public class ASTConstructorDeclaration extends AbstractJavaAccessNode { private boolean containsComment; public ASTConstructorDeclaration(int id) { super(id); } public ASTConstructorDeclaration(JavaParser p, int id) { super(p, id); } public ASTFormalParameters getParameters() { return (ASTFormalParameters) (jjtGetChild(0) instanceof ASTFormalParameters ? jjtGetChild(0) : jjtGetChild(1)); } public int getParameterCount() { return getParameters().getParameterCount(); } /** * Accept the visitor. * */ @Override public Object jjtAccept(JavaParserVisitor visitor, Object data) { return visitor.visit(this, data); } public boolean containsComment() { return this.containsComment; } public void setContainsComment() { this.containsComment = true; } }