boolean (PsiExpression[] args, PsiMethod method) { int count = 0; for (int i = method.getParameterList().getParametersCount(); i < args.length; i++) { if (PsiPolyExpressionUtil.isPolyExpression(args[i]) && ++count > 50) { return true; } } return false; }