if (looksLikeExpectedArgument(expectedArgument) || !looksLikeExpectedArgument(actualArgument)) {
return;
}
registerMethodCallError(expression);
}
<BUG>private boolean looksLikeExpectedArgument(PsiExpression expression) {

if (ExpressionUtils.computeConstantExpression(expression) != null || PsiType.NULL.equals(expression.getType())) {
return true;</BUG>
}

if (looksLikeExpectedArgument(expectedArgument) || !looksLikeExpectedArgument(actualArgument)) {
return;
}
registerMethodCallError(expression);
}
private boolean looksLikeExpectedArgument(@Nullable PsiExpression expression) {
expression = ParenthesesUtils.stripParentheses(expression);
if (expression == null) {
return false;
}
final PsiType type = expression.getType();
if (ExpressionUtils.computeConstantExpression(expression) != null || PsiType.NULL.equals(type)) {
return true;
}
