boolean (PsiMethodCallExpression expr) { final PsiMethod method = expr.resolveMethod(); if (method == null) return false; final PsiParameterList parameters = method.getParameterList(); if (parameters.getParametersCount() != 1) { return !parameters.isEmpty(); } final PsiParameter parameter = parameters.getParameters()[0]; final PsiType type = parameter.getType(); return type instanceof PsiEllipsisType; }