Interface TestBenchGeneratorSetValueHandler.SetValueExpressionGenerator

Enclosing class:
TestBenchGeneratorSetValueHandler

public static interface TestBenchGeneratorSetValueHandler.SetValueExpressionGenerator
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.javaparser.ast.stmt.ExpressionStmt
    generate(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 element
      classInfo - the TestBench element class information
      value - the value to set
      Returns:
      the generated statement, or null if this generator does not support the component