@Override
  public void fillCompletionVariants(@NotNull CompletionParameters parameters, @NotNull CompletionResultSet result) {
    if (PsiUtil.getLanguageLevel(parameters.getPosition().getProject()).isLessThan(LanguageLevel.JDK_1_8)) {
      return;
    }

    result.runRemainingContributors(parameters, completionResult -> {
      LookupElement lookupElement = completionResult.getLookupElement();
      if (shouldKeepItem(lookupElement)) {
        result.passResult(completionResult);
      }
    });
  }
@Override
  public void fillCompletionVariants(@NotNull CompletionParameters parameters, @NotNull CompletionResultSet result)