Consider the following:
package p
import p.A.B
abstract class A {
protected static class B {
}
}
class C extends A {
def m(B b) {
}
}
The import statement is not required to resolve reference to B from class C. Organize Imports (Ctrl+Shift+O) is not removing the extra import.
Consider the following:
The import statement is not required to resolve reference to B from class C. Organize Imports (Ctrl+Shift+O) is not removing the extra import.