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. ASTCastExpression.java */
5   
6   package net.sourceforge.pmd.lang.java.ast;
7   
8   public class ASTCastExpression extends AbstractJavaTypeNode {
9       private boolean intersectionTypes = false;
10  
11      public ASTCastExpression(int id) {
12          super(id);
13      }
14  
15      public ASTCastExpression(JavaParser p, int id) {
16          super(p, id);
17      }
18  
19      public void setIntersectionTypes(boolean intersectionTypes) {
20          this.intersectionTypes = intersectionTypes;
21      }
22      public boolean hasIntersectionTypes() {
23          return intersectionTypes;
24      }
25  
26      /**
27       * Accept the visitor. *
28       */
29      public Object jjtAccept(JavaParserVisitor visitor, Object data) {
30          return visitor.visit(this, data);
31      }
32  }