boolean (ReturnValue other) { if (!(other instanceof ConditionalReturnStatementValue)) return false; PsiExpression otherReturnValue = ((ConditionalReturnStatementValue) other).myReturnValue; if (otherReturnValue == null || myReturnValue == null) return myReturnValue == null && otherReturnValue == null; return PsiEquivalenceUtil.areElementsEquivalent(myReturnValue, otherReturnValue); }