Package io.codemodder.ast
Class ExpressionStmtVariableDeclaration
java.lang.Object
io.codemodder.ast.LocalVariableDeclaration
io.codemodder.ast.ExpressionStmtVariableDeclaration
- All Implemented Interfaces:
LocalDeclaration
Holds the nodes in the AST that represents a local variable declaration statement. See Java Language
Specification - Section 14.4.2 for more details.
-
Field Summary
Fields inherited from class io.codemodder.ast.LocalVariableDeclaration
scope, vd, vde
-
Method Summary
Modifier and TypeMethodDescriptionprotected LocalScope
com.github.javaparser.ast.stmt.ExpressionStmt
Returns theExpressionStmt
Node
that holds this local declaration.Methods inherited from class io.codemodder.ast.LocalVariableDeclaration
fromVariableDeclarator, getDeclaration, getName, getScope, getVariableDeclarationExpr, getVariableDeclarator, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.codemodder.ast.LocalDeclaration
findAllMethodCalls, findAllReferences, isReference
-
Method Details
-
getStatement
public com.github.javaparser.ast.stmt.ExpressionStmt getStatement()Returns theExpressionStmt
Node
that holds this local declaration.- Specified by:
getStatement
in classLocalVariableDeclaration
-
findScope
- Specified by:
findScope
in classLocalVariableDeclaration
-