package yokohama.unit.ast_junit;

import java.util.Set;
import lombok.Value;
import yokohama.unit.util.SBuilder;

@Value
public class ActionStatement implements Statement {
    private QuotedExpr action;

    public Set<ImportedName> importedNames(ExpressionStrategy expressionStrategy, MockStrategy mockStrategy) {
        return expressionStrategy.getValueImports();
    }

    public void toString(SBuilder sb, ExpressionStrategy expressionStrategy, MockStrategy mockStrategy) {
        sb.appendln(expressionStrategy.getValue(action), ";");
    }

    @Override
    public <T> T accept(StatementVisitor<T> visitor) {
        return visitor.visitActionStatement(this);
    }
}

@@ -204,24 +204,39 @@
  action;%0D%0A%0D%0A
+    @Override%0D%0A
     public S
@@ -394,24 +394,39 @@
 ;%0D%0A    %7D%0D%0A%0D%0A
+    @Override%0D%0A
     public v

Add @Override annotation