Condition ```element.getParent() !is JetDotQualifiedExpression``` is too restrictive. If, say, you have ```class A (val foo: (Int) -> Int)```, then ```a.foo(1)``` can be safely transformed to ```a.foo.invoke(1)``` and vice versa