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

Add inspection for usages of field getter accessors without using field value #2349

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

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 is no reason to call a field getter accessor without using the return value, so add an IDE warning for any usage of a field getter accessor without using the return value
in normal java this is prevented by field accesses not being statements

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