MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

Suppress "Return value of the method is never used" warning on @Accessor and @Invoker methods

Open O7410 opened this issue 1 year ago • 0 comments

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

O7410 avatar Aug 01 '24 19:08 O7410