Revisiting this. I applied the patch and I am playing with the broken code in the description.
The goal is for organize imports to not remove everything if some kind of error has occurred and method bodies are empty. However, this patch does not do this.
After applying the patch, the nuthin method does exist in the module node, but it is an empty method with no statements. And hence invoking organize imports will remove the import statement.
Still some work to do.