1) Extract ```element.getLeft()``` just like you did for ```element.getRight()``` (let's call it leftExpression)
2) There is no point in using ```element.getRight()```/```element.getLeft()``` in comparisons since they are/will be extracted to variables
3) ```leftExpression !=null``` is redundant (it's implied by ```leftExpression is JetSimpleNameExpression```)
The same goes for ```element.getRight() != null```