alfasoftware / astra

Astra: a Java tool for analysing and refactoring Java source code
Apache License 2.0
68 stars 35 forks source link

Fix unused imports refactor so it doesn't lose inner types. #16

Closed harrisric closed 3 years ago

harrisric commented 3 years ago

Fixes #15 Also extends the test coverage for UnusedImportExample to cover some static variables.

harrisric commented 3 years ago

Actually only partially works - still need to fix the case where the inner type referenced is another class within the same package.

RadikalJin commented 3 years ago

Hi @harrisric, thank you for your contribution - it looks like it'll be a nice improvement for the UnusedImportRefactor!

It looks like the build is a bit unhappy at the moment - thanks for bearing with me while that gets sorted out...