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

SuppressWarnings for generated Java Enums #894

Closed
michael-ameri opened this issue May 4, 2022 · 2 comments
Closed

SuppressWarnings for generated Java Enums #894

michael-ameri opened this issue May 4, 2022 · 2 comments

Comments

@michael-ameri
Copy link

In Java Encoders and Decoders are automatically generated with a @SuppressWarnings annotation.
Enums are generated without this annotation.
Can you add these annotations there too?

@mjpt777
Copy link
Contributor

mjpt777 commented May 4, 2022

Which warnings need suppressed?

@michael-ameri
Copy link
Author

In our project we have some inspections activated which are violated by the SBE Enums which are generated, e.g. “Instance field access ‘value’ is not qualified with ‘this’”.

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

No branches or pull requests

2 participants