void (@NotNull PsiMethodCallExpression expression) { super.visitMethodCallExpression(expression); if (!MATH_ROUNDING_MATCHERS.matches(expression)) return; PsiExpression[] arguments = expression.getArgumentList().getExpressions(); if (arguments.length != 1) { return; } PsiExpression argument = arguments[0]; PsiType type = argument.getType(); if (type == null) return; if (!PsiTypes.intType().equals(type) && !type.equalsToText(JAVA_LANG_INTEGER)) { return; } registerMethodCallError(expression, expression); }