Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
O7410 opened this issue Aug 1, 2024 · 0 comments

Comments

@O7410
Copy link
Contributor

O7410 commented Aug 1, 2024

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 #2349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants