/**
 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
 */
/* Generated By:JJTree: Do not edit this line. ASTCastExpression.java */

package net.sourceforge.pmd.lang.java.ast;

public class ASTCastExpression extends AbstractJavaTypeNode {
    private boolean intersectionTypes = false;

    public ASTCastExpression(int id) {
        super(id);
    }

    public ASTCastExpression(JavaParser p, int id) {
        super(p, id);
    }

    public void setIntersectionTypes(boolean intersectionTypes) {
        this.intersectionTypes = intersectionTypes;
    }
    public boolean hasIntersectionTypes() {
        return intersectionTypes;
    }

    /**
     * Accept the visitor. *
     */
    public Object jjtAccept(JavaParserVisitor visitor, Object data) {
        return visitor.visit(this, data);
    }
}
