
if(!tokenType.equals(elseSign.getTokenType())){
</BUG>
return false;
}
<BUG>final PsiExpression thenLhs = thenExpression.getLExpression();
final PsiExpression elseLhs = elseExpression.getLExpression();

return EquivalenceChecker.expressionsAreEquivalent(thenLhs,

elseLhs);
} else{
return false;
}</BUG>
}

final PsiAssignmentExpression elseExpression =
(PsiAssignmentExpression)
elseExpressionStatement.getExpression();
final PsiJavaToken thenSign = thenExpression.getOperationSign();
final PsiJavaToken elseSign = elseExpression.getOperationSign();
final IElementType thenTokenType = thenSign.getTokenType();
if(!thenTokenType.equals(elseSign.getTokenType())){
return false;
}
final PsiExpression thenLhs = thenExpression.getLExpression();
final PsiExpression elseLhs = elseExpression.getLExpression();
return EquivalenceChecker.expressionsAreEquivalent(thenLhs, elseLhs);
}
