View Javadoc

1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   /* Generated By:JJTree: Do not edit this line. ASTPrimaryPrefix.java */
5   
6   package net.sourceforge.pmd.lang.java.ast;
7   
8   public class ASTPrimaryPrefix extends AbstractJavaTypeNode {
9       public ASTPrimaryPrefix(int id) {
10          super(id);
11      }
12  
13      public ASTPrimaryPrefix(JavaParser p, int id) {
14          super(p, id);
15      }
16  
17      private boolean usesThisModifier;
18      private boolean usesSuperModifier;
19  
20      public void setUsesThisModifier() {
21          usesThisModifier = true;
22      }
23  
24      public boolean usesThisModifier() {
25          return this.usesThisModifier;
26      }
27  
28      public void setUsesSuperModifier() {
29          usesSuperModifier = true;
30      }
31  
32      public boolean usesSuperModifier() {
33          return this.usesSuperModifier;
34      }
35  
36      /**
37       * Accept the visitor. *
38       */
39      public Object jjtAccept(JavaParserVisitor visitor, Object data) {
40          return visitor.visit(this, data);
41      }
42  }