1) JetPsiMatcher class provides more reliable and generic way to compare PSI elements. Please, use it instead of comparing element text directly. For example, ```JetPsiMatcher.checkElementMatch(variableExpression, expression.getLeft())```
2) I suggest to use when expression instead of nested "ifs". Like this:
```
return when {
    JetPsiMatcher.checkElementMatch(variableExpression, expression.getLeft()) -> ...
    ...
}
```