void (@NotNull CompletionParameters parameters, @NotNull ProcessingContext context, @NotNull CompletionResultSet result) { String prefix = CompletionUtil.findJavaIdentifierPrefix(parameters); CompletionResultSet resultSetWithPrefix = result.withPrefixMatcher(prefix); WordCompletionContributor.addWordCompletionVariants(resultSetWithPrefix, parameters, Collections.emptySet(), true); }