Class TryResourceDeclaration

java.lang.Object
io.codemodder.ast.LocalVariableDeclaration
io.codemodder.ast.TryResourceDeclaration
All Implemented Interfaces:
LocalDeclaration

public final class TryResourceDeclaration extends LocalVariableDeclaration
Holds the nodes in the AST that represents a variable declaration as a try resource. See Java Language Specification - Section 14.20.3 for more details.
  • Constructor Details

    • TryResourceDeclaration

      public TryResourceDeclaration(com.github.javaparser.ast.stmt.TryStmt stmt, com.github.javaparser.ast.expr.VariableDeclarationExpr vde, com.github.javaparser.ast.body.VariableDeclarator vd)
  • Method Details