class IncorrectExample extends ExampleSentence {
  
  private final Object corrections;

  public IncorrectExample(String example) {
    this(example, Collections.emptyList());
  }

  /**
   * @since 2.9
   */
  public IncorrectExample(String example, List<String> corrections) {
    super(example);
    this.corrections = corrections.isEmpty() ? null :
                       corrections.size() == 1 ? corrections.get(0) :
                       corrections.toArray(new String[0]);
  }

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

}

    return corrections == null ? Collections.emptyList() :
           corrections instanceof String ? Collections.singletonList((String) corrections) :
           Collections.unmodifiableList(Arrays.asList((String[])corrections));
  
<methods>public void <init>(java.lang.String) ,public static java.lang.String cleanMarkersInExample(java.lang.String) ,public java.lang.String getExample() ,public java.lang.String toString() <variables>protected final non-sealed java.lang.String example