lombok-intellij-plugin
lombok-intellij-plugin copied to clipboard
Feature: remove unnecessary @SneakThrows annotations on save
Short description
When I add @SneakyThrows to a method, then change the implementation of the method so that it can never throw a declared exception, then I sometimes forget to remove the @SneakyThrows
Expected behavior
On file save, the plugin should check if there is any SneakyThrows in the changed files that could be removed and either remove them automatically or add a warning to the editor. (these two behaviours should be configurable)