private static GroovyCompletionConsumer getCompletionConsumer(CompletionResultSet resultSet, CompletionParameters completionParameters) {
    PsiElement position = completionParameters.getPosition();
    for (GroovyCompletionCustomizer customizer : GroovyCompletionContributor.EP_NAME.getExtensionList()) {
      GroovyCompletionConsumer consumer = customizer.generateCompletionConsumer(position, resultSet);
      if (consumer != null) {
        return consumer;
      }
    }
    return new FastGroovyCompletionConsumer(resultSet);
  }
private static GroovyCompletionConsumer getCompletionConsumer(CompletionResultSet resultSet, CompletionParameters completionParameters)