Skip to content

cant annotate explicit enum #6

@eiswind

Description

@eiswind

HI,

I have enums with int values that I need to map individually. I tried to annotate them like
<jxb:bindings node="//xs:simpleType[@name='List1']">

        <annox:annotateClass>@java.lang.SuppressWarnings</annox:annotateClass>
        <jxb:typesafeEnumClass name="List1">

            <jxb:typesafeEnumMember value="01" name="V01">

But that doesn't work. How would I annotate the enum members?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions