protected @NotNull MethodCandidateInfo createCandidateInfo(@NotNull PsiMethod method,
                                                             PsiSubstitutor substitutor,
                                                             boolean staticProblem,
                                                             PsiElement currentFileContext,
                                                             boolean accessProblem,
                                                             PsiElement argumentList,
                                                             PsiType[] argumentTypes,
                                                             @NotNull LanguageLevel languageLevel, boolean vararg) {
    return new MethodCandidateInfo(method, substitutor, accessProblem, staticProblem, argumentList, currentFileContext, argumentTypes,
                                   PsiType.EMPTY_ARRAY, languageLevel) {
      @Override
      public boolean isVarargs() {
        return vararg;
      }
    };
  }
protected @NotNull MethodCandidateInfo createCandidateInfo(@NotNull PsiMethod method,
                                                             PsiSubstitutor substitutor,
                                                             boolean staticProblem,
                                                             PsiElement currentFileContext,
                                                             boolean accessProblem,
                                                             PsiElement argumentList,
                                                             PsiType[] argumentTypes,
                                                             @NotNull LanguageLevel languageLevel, boolean vararg)