void (@NotNull ThreeState finishIndexingWithStatus, @NotNull StatusMark second, @NotNull DependenciesIndexedStatusService statusService) { switch (finishIndexingWithStatus) { case YES -> statusService.indexingFinished(true, second); case NO -> statusService.indexingFinished(false, second); case UNSURE -> {} } }