livefront / sealed-enum

A Kotlin annotation processor that makes writing normal enum classes obsolete.
Apache License 2.0
149 stars 7 forks source link

Add support for `Enum.entries` #118

Open alexvanyo opened 1 year ago

alexvanyo commented 1 year ago

Enum.values is planned to be deprecated and replaced with Enum.entries with https://github.com/Kotlin/KEEP/blob/master/proposals/enum-entries.md

This will eventually impact the conversion method createSealedEnumFromEnum, which uses Enum.values