Skip to content

SuppressWarnings for generated Java Enums #894

Closed

Description

@michael-ameri

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?

Activity

  1. mjpt777 commented on May 4, 2022

    @mjpt777
    Contributor

    Which warnings need suppressed?

  2. michael-ameri commented on May 4, 2022

    @michael-ameri
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions