void (Class<? extends CompletionPhase> @NotNull ... possibilities) { ClientCompletionService clientCompletionService = ClientCompletionService.tryGetInstance(ClientSessionsManager.getAppSession()); CompletionPhaseHolder holder = clientCompletionService != null ? clientCompletionService.getCompletionPhaseHolder() : DEFAULT_PHASE_HOLDER; assertPhase(holder, possibilities); }