Consider the following Java class:
package test9;
public class Outer {
public static enum MyEnum {
A, B;
}
}
And the following Groovy class:
package test9
import test9.Outer.MyEnum
class GroovyClass {
void doSomething() {
MyEnum myEnum = MyEnum.A
}
}
Now refactor Outer class and rename it to Outer2.
The following line in GroovyClass is not updated:
import test9.Outer.MyEnum
Consider the following Java class:
And the following Groovy class:
Now refactor
Outerclass and rename it toOuter2.The following line in
GroovyClassis not updated:import test9.Outer.MyEnum