The Idea is that Imports are generated through templates.
Though sometimes mistakes are made.
So the idea is to write a import tool that reverses the logic.
First run through all the sourcecode in the IDE and force a "organize imports" that will make basically imports done properly sorted.
After that is done run a tool scan all the .java files that are auto generated and copy in all "imports". Then templificate the imports and compare which each implementation needs them.
Once that is done output the import section. Either through console or directly into the file itself.
Console would make most sense since that would secure templates never being written to, and just read from.
The Idea is that Imports are generated through templates.
Though sometimes mistakes are made.
So the idea is to write a import tool that reverses the logic.
First run through all the sourcecode in the IDE and force a "organize imports" that will make basically imports done properly sorted.
After that is done run a tool scan all the .java files that are auto generated and copy in all "imports". Then templificate the imports and compare which each implementation needs them.
Once that is done output the import section. Either through console or directly into the file itself.
Console would make most sense since that would secure templates never being written to, and just read from.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The Idea is that Imports are generated through templates.
Though sometimes mistakes are made.
So the idea is to write a import tool that reverses the logic.
First run through all the sourcecode in the IDE and force a "organize imports" that will make basically imports done properly sorted.
After that is done run a tool scan all the .java files that are auto generated and copy in all "imports". Then templificate the imports and compare which each implementation needs them.
Once that is done output the import section. Either through console or directly into the file itself.
Console would make most sense since that would secure templates never being written to, and just read from.