net.sourceforge.pmd.ast
Class ASTImportDeclaration

java.lang.Object
  extended bynet.sourceforge.pmd.ast.SimpleNode
      extended bynet.sourceforge.pmd.ast.ASTImportDeclaration
All Implemented Interfaces:
Node

public class ASTImportDeclaration
extends SimpleNode


Field Summary
private  boolean isImportOnDemand
           
 
Fields inherited from class net.sourceforge.pmd.ast.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTImportDeclaration(int id)
           
ASTImportDeclaration(JavaParser p, int id)
           
 
Method Summary
 ASTName getImportedNameNode()
           
 boolean isImportOnDemand()
           
 java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 void setImportOnDemand()
           
 
Methods inherited from class net.sourceforge.pmd.ast.SimpleNode
childrenAccept, dump, dumpChildren, findChildrenOfType, findChildrenOfType, findChildrenOfType, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFirstParentOfType, getImage, getParentsOfType, getScope, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setImage, setScope, testingOnly__setBeginColumn, testingOnly__setBeginLine, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isImportOnDemand

private boolean isImportOnDemand
Constructor Detail

ASTImportDeclaration

public ASTImportDeclaration(int id)

ASTImportDeclaration

public ASTImportDeclaration(JavaParser p,
                            int id)
Method Detail

setImportOnDemand

public void setImportOnDemand()

isImportOnDemand

public boolean isImportOnDemand()

getImportedNameNode

public ASTName getImportedNameNode()

jjtAccept

public java.lang.Object jjtAccept(JavaParserVisitor visitor,
                                  java.lang.Object data)
Accept the visitor.

Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept in class SimpleNode