package bart.model.errorgenerator.operator.valueselectors;

import speedy.model.database.ConstantValue;
import speedy.model.database.IValue;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TypoAppendString implements IDirtyStrategy {

    private static final Logger logger = LoggerFactory.getLogger(TypoAppendString.class);
    private String chars;
    private int charsToAdd;

    public TypoAppendString(String chars, int charsToAdd) {
        this.chars = chars;
        this.charsToAdd = charsToAdd;
    }

    public IValue generateNewValue(IValue value) {
        StringBuilder sb = new StringBuilder(value + "");
        for (int i = 0; i < charsToAdd; i++) {
            sb.append(chars);
        }
        return new ConstantValue(sb.toString());
    }

    @Override
    public String toString() {
        return "TypoAppendString{" + "chars=" + chars + ", charsToAdd=" + charsToAdd + '}';
    }

}

@@ -775,24 +775,155 @@
 ng());%0A    %7D
+%0A    %0A    public String getChars() %7B%0A        return chars;%0A    %7D%0A%0A    public int getCharsToAdd() %7B%0A        return charsToAdd;%0A    %7D
 %0A%0A    @Overr

Update TypoAppendString.java