@Nullable
  @Override
  public State getState() {
    State s = new State();
    s.isSearchForTextOccurrences = isSearchForTextOccurrences;
    return s;
  }
@Nullable
  @Override
  public State getState()