Trying to do TDD in a java project using groovy tests, I need to generate java classes on the fly (Alt
With the current version of IntelliJ IDEA (2016.2.4) the only solution I found is to generate a groovy class (Alt
| Create class from the test) and then convert it to Java (
Refactor | Convert to Java).
To make it faster I also added a shortcut for
Convert to Java: Ctrl+Shift+O was the best available option for me.