PsiReferenceExpression (PsiBinaryExpression expression) { PsiExpression comparedWithNull = ExpressionUtils.getValueComparedWithNull(expression); return tryCast(PsiUtil.skipParenthesizedExprDown(comparedWithNull), PsiReferenceExpression.class); }