ProblemDescriptor (PsiMethodCallExpression call) { PsiExpression secondArg = call.getArgumentList().getExpressions()[1]; if (ExpressionUtils.isLiteral(PsiUtil.skipParenthesizedExprDown(secondArg), 0)) { return getRedundantArgumentProblem(secondArg, "inspection.redundant.zero.argument.message"); } return null; }