spotless icon indicating copy to clipboard operation
spotless copied to clipboard

new step to expand java wildcard imports

Open Plunts opened this issue 1 month ago • 2 comments

As requested in #2594, this MR introduces an expandWildcardImports step. To do this, JavaParser is used to parse the complete sourcecode and resolve the full qualified name of all used classes and static methods.

The operation is currently only implemented for Gradle, as I am not familiar enough with the maven plugin system to provide the necessary classpath information.

Plunts avatar Nov 20 '25 17:11 Plunts

Amazing! This would be a fantastic feature to merge. I don't have time to examine it in detail at the moment, burned by time budget on fixing problems in our CI. Thanks for the great contribution and I'll try to get to this ASAP! Hopefully some other reviewers can take a stab at it...

nedtwigg avatar Nov 20 '25 18:11 nedtwigg

rebase will fix CI, thanks for the feature.

Sorry for noisy delay.

Pankraz76 avatar Nov 23 '25 15:11 Pankraz76