Details
-
Improvement
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
Description
Our current codegen uses an ImmutableMap to lookup members by name and by value.
With JDK17 we can use switch expressions . This will allow us expose what we are doing directly to Java in a very concise form. We will also reduce runtime overhead, as we will no longer need the maps.
Attachments
Issue Links
- relates to
-
MDSAL-754 Generate ofName() and ofValue() for enumerations
-
- Resolved
-