void (final @NotNull CompletionParameters parameters, final @NotNull CompletionResultSet result) { boolean empty = result.runRemainingContributors(parameters, true).isEmpty(); if (!empty && parameters.getInvocationCount() == 0) { result.restartCompletionWhenNothingMatches(); } if (empty && parameters.getCompletionType() == CompletionType.BASIC) { XmlCompletionContributor.completeTagName(parameters, result); } }