When I'm within a groovy class, and refer to a property / field on java class that doesn't exist, is there a way to enable the create property refactoring?
// Inside Foo.groovy
Bar bar = new Bar(); // Defined in Bar.java
bar.someProperty = "Hello, world"; // bar.someProperty doesn't exist.
In the above example, I'd like to get access to the "create property" refactoring option on someProperty. Is there a way to enable this?