View Javadoc
1 /* Generated By:JJTree: Do not edit this line. ASTIfStatement.java */ 2 3 package net.sourceforge.pmd.ast; 4 5 public class ASTIfStatement extends SimpleNode { 6 public ASTIfStatement(int id) { 7 super(id); 8 } 9 10 public ASTIfStatement(JavaParser p, int id) { 11 super(p, id); 12 } 13 14 private boolean hasElse; 15 16 public void setHasElse() { 17 this.hasElse = true; 18 } 19 20 public boolean hasElse() { 21 return this.hasElse; 22 } 23 24 25 /*** Accept the visitor. **/ 26 public Object jjtAccept(JavaParserVisitor visitor, Object data) { 27 return visitor.visit(this, data); 28 } 29 }

This page was automatically generated by Maven