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

This page was automatically generated by Maven