public void scheduleCalcElements(@NotNull String text,
                                   boolean checkboxState,
                                   @NotNull ModalityState modalityState,
                                   @NotNull SelectionPolicy policy,
                                   @NotNull Consumer<? super Set<?>> callback) {
    new CalcElementsThread(text, checkboxState, modalityState, policy, callback).scheduleThread();
  }
public void scheduleCalcElements(@NotNull String text,
                                   boolean checkboxState,
                                   @NotNull ModalityState modalityState,
                                   @NotNull SelectionPolicy policy,
                                   @NotNull Consumer<? super Set<?>> callback)