void (@NotNull PsiMethodCallExpression expression) { if (SUSPICIOUS_METHODS.test(expression)) { final PsiExpressionList argumentList = expression.getArgumentList(); final PsiExpression[] arguments = argumentList.getExpressions(); if (arguments.length != 1 || NonNlsUtils.isNonNlsAnnotated(arguments[0])) { return; } } else if (!TRIM.test(expression)) { return; } final PsiReferenceExpression methodExpression = expression.getMethodExpression(); final PsiExpression qualifier = methodExpression.getQualifierExpression(); if (NonNlsUtils.isNonNlsAnnotated(qualifier)) { return; } registerMethodCallError(expression, expression); }