Skip to content

Fix organize imports for static import alias used in bean-style reference #1065

Closed
@eric-milles

Description

@eric-milles

Consider the following:

import static p.Q.getBadName as getGoodName
def var = goodName

Organize imports drops the import statement because it can't see the link between "goodName" and "getBadName/getGoodName".

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions