Class ForEachDeclaration

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

public final class ForEachDeclaration extends LocalVariableDeclaration
Holds the nodes in the AST that represents a variable declaration in an enhanced for statement . See Java Language Specification - Section 14.14.14 for more details.
  • Constructor Details

    • ForEachDeclaration

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