Skip to content

Organize Imports fails to remove inner class import for qualified reference #923

@eric-milles

Description

@eric-milles

Consider the following:

package foo;
public class Bar {
  public static class Baz {
  }
}
import foo.Bar
import foo.Bar.Baz
Bar.Baz baz = null

Organize Imports (Ctrl+Shift+O) should remove "import foo.Bar.Baz" because the reference is qualified by the outer class.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions