boolean (@NotNull ULiteralExpression argument, @NotNull UCallExpression callExpression) { PsiParameter parameter = UastUtils.getParameterForArgument(callExpression, argument); if (parameter == null) return false; if (isNonNlsAnnotatedPsi(parameter)) return true; // special handling for equals() if (!HardcodedMethodConstants.EQUALS.equals(callExpression.getMethodName())) return false; PsiMethod method = callExpression.resolve(); if (!MethodUtils.isEquals(method)) return false; return isCallExpressionWithNonNlsReceiver(callExpression); }