private static boolean acceptedParameterCount(@NotNull PsiMethod classMethod, int methodArgCount) {
    int minArgs = classMethod.getParameterList().getParametersCount();
    int maxArgs = minArgs;
    if (classMethod.isVarArgs()) {
      minArgs--;
      maxArgs = Integer.MAX_VALUE;
    }
    return !(methodArgCount < minArgs || methodArgCount > maxArgs);
  }
private static boolean acceptedParameterCount(@NotNull PsiMethod classMethod, int methodArgCount)