View Javadoc
1 /* Generated By:JJTree: Do not edit this line. ASTExplicitConstructorInvocation.java */ 2 3 package net.sourceforge.pmd.ast; 4 5 public class ASTExplicitConstructorInvocation extends SimpleNode { 6 public ASTExplicitConstructorInvocation(int id) { 7 super(id); 8 } 9 10 public ASTExplicitConstructorInvocation(JavaParser p, int id) { 11 super(p, id); 12 } 13 14 15 /*** Accept the visitor. **/ 16 public Object jjtAccept(JavaParserVisitor visitor, Object data) { 17 return visitor.visit(this, data); 18 } 19 20 public int getArgumentCount() { 21 return ((ASTArguments) this.jjtGetChild(0)).getArgumentCount(); 22 } 23 24 private String thisOrSuper; 25 26 public void setIsThis() { 27 this.thisOrSuper = "this"; 28 } 29 30 public void setIsSuper() { 31 this.thisOrSuper = "super"; 32 } 33 34 public boolean isThis() { 35 return thisOrSuper != null && thisOrSuper.equals("this"); 36 } 37 38 public boolean isSuper() { 39 return thisOrSuper != null && thisOrSuper.equals("super"); 40 } 41 }

This page was automatically generated by Maven