### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened * Spotless sometimes fails to detect and block wildcard imports, see: https://github.com/apache/dolphinscheduler/pull/12076#discussion_r996636015 ### What you expected to happen * Spotless should be able to detect and block wildcard imports in code. ### How to reproduce * WIP, will update this section later. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)