I remember that it was possible to use `this` in static context. It’s seems, IntelliJ idea doesn’t support it.
I tried it in groovy console, and seems it still works in Groovy. Is it behaviour that is desired, or this thing is deprecated?
If it should be supported, I can create a ticket to JetBrains.