net.sourceforge.pmd.lang.java.ast.ASTSwitchStatement Maven / Gradle / Ivy
The newest version!
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.java.ast;
/**
* Represents a {@code switch} statement. See {@link ASTSwitchLike} for
* its grammar.
*/
public final class ASTSwitchStatement extends AbstractStatement implements ASTSwitchLike {
ASTSwitchStatement(int id) {
super(id);
}
@Override
protected R acceptVisitor(JavaVisitor super P, ? extends R> visitor, P data) {
return visitor.visit(this, data);
}
}