void (@NotNull PsiMethodCallExpression methodCall) { final PsiExpression[] args = methodCall.getArgumentList().getExpressions(); if (args.length < 1) return; for (int idx = 0; idx < Math.min(2, args.length); idx ++) { String message = getSuspiciousMethodCallMessage(methodCall, REPORT_CONVERTIBLE_METHOD_CALLS, patternMethods, args[idx], idx); if (message != null) { holder.registerProblem(methodCall.getArgumentList().getExpressions()[idx], message); } } }