class IncorrectBitextExample {

  private final StringPair example;
  private final List<String> corrections;

  public IncorrectBitextExample(StringPair example) {
    this(example, Collections.emptyList());
  }

  /**
   * @since 2.9
   */
  public IncorrectBitextExample(StringPair example, List<String> corrections) {
    this.example = Objects.requireNonNull(example);
    this.corrections = Collections.unmodifiableList(corrections);
  }

  /**
   * Return the example that contains the error.
   */
  public StringPair getExample() {
    return example;
  }

  /**
   * Return the possible corrections.
   */
  public List<String> getCorrections() {
    return corrections;
  }
  
  @Override
  public String toString() {<FILL_FUNCTION_BODY>}

}

    return example.getSource() + "/ " + example.getTarget() + " " + corrections;
  
<no_super_class>