void (CompletionInitializationContext initContext, WeighingDelegate weigher, CompletionParameters parameters) { DumbModeAccessType.RELIABLE_DATA_ONLY.ignoreDumbMode(() -> { duringCompletion(initContext, parameters); ProgressManager.checkCanceled(); CompletionService.getCompletionService().performCompletion(parameters, weigher); }); ProgressManager.checkCanceled(); weigher.waitFor(); ProgressManager.checkCanceled(); }