Skip to content

Organize imports drops static alias when static star is also present #731

@eric-milles

Description

@eric-milles

Consider the following:

package p
enum E {
  ONE, TWO
}
import static p.E.*
import static p.E.ONE as WON

class C {
  static main(args) {
    ONE
    TWO
    WON
  }
}

Organize Imports (Ctrl+Shift+O) causes the aliased import to be dropped.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions