Interface TestBenchGeneratorSetValueHandler.SetValueExpressionGenerator
- Enclosing class:
TestBenchGeneratorSetValueHandler
public static interface TestBenchGeneratorSetValueHandler.SetValueExpressionGenerator
-
Method Summary
Modifier and TypeMethodDescriptioncom.github.javaparser.ast.stmt.ExpressionStmtgenerate(String variableName, TestBenchElementClassInfo classInfo, String value) Generates the statement that sets the value for a matching component.
-
Method Details
-
generate
com.github.javaparser.ast.stmt.ExpressionStmt generate(String variableName, TestBenchElementClassInfo classInfo, String value) Generates the statement that sets the value for a matching component.- Parameters:
variableName- the variable name of the TestBench elementclassInfo- the TestBench element class informationvalue- the value to set- Returns:
- the generated statement, or
nullif this generator does not support the component
-