public void setDelegate(@NotNull WolfTheProblemSolver delegate) {
    if (myDelegate != null) {
      throw new IllegalStateException();
    }
    myDelegate = delegate;
  }
public void setDelegate(@NotNull WolfTheProblemSolver delegate)