All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.pmd.lang.java.ast.ASTFinallyClause Maven / Gradle / Ivy

There is a newer version: 7.7.0
Show newest version
/**
 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
 */

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

/**
 * The "finally" clause of a {@linkplain ASTTryStatement try statement}.
 *
 *
 * 
 *
 * FinallyClause ::= "finally" {@link ASTBlock Block}
 *
 * 
*/ public final class ASTFinallyClause extends AbstractJavaNode { ASTFinallyClause(int id) { super(id); } @Override public R acceptVisitor(JavaVisitor visitor, P data) { return visitor.visit(this, data); } /** * Returns the body of this finally clause. */ public ASTBlock getBody() { return (ASTBlock) getChild(0); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy