MinecraftDev
MinecraftDev copied to clipboard
Suppress "Return value of the method is never used" warning on @Accessor and @Invoker methods
Minecraft Development for IntelliJ plugin version
2024.1-1.8.0
Description of the feature request
There are methods that do something and return a value from a calculation in the method, so there is a reason to call the invoker method while not using the return value but applying the quick fix creates an error in the invoker because the return type doesn't match so suppress the warning almost the same for field getter accessors, except fields don't have side effects when accessing, so see https://github.com/minecraft-dev/MinecraftDev/issues/2349