Package io.codemodder.javaparser
Class ASTExpectations.VariableDeclarationExprExpectation
java.lang.Object
io.codemodder.javaparser.ASTExpectations.VariableDeclarationExprExpectation
- Enclosing class:
- ASTExpectations
A type for querying and filtering variable declaration(s).
-
Constructor Summary
ConstructorsConstructorDescriptionVariableDeclarationExprExpectation
(Optional<com.github.javaparser.ast.expr.VariableDeclarationExpr> expr) -
Method Summary
-
Constructor Details
-
VariableDeclarationExprExpectation
public VariableDeclarationExprExpectation(Optional<com.github.javaparser.ast.expr.VariableDeclarationExpr> expr)
-
-
Method Details
-
toBeSingleLocalVariableDefinition
Return an expectation that asserts the local variable declaration has only a single variable. -
result
-