sealed-enum
sealed-enum copied to clipboard
A Kotlin annotation processor that makes writing normal enum classes obsolete.
If I have the following code: ```kotlin sealed interface Foo { object Bar : Foo object Baz : Foo } sealed interface FooProvider { object BarProvider : FooProvider object BazProvider...
Publishing is currently done via [Jitpack](https://jitpack.io/), which is currently a blocker for #81 / #78 due to the build environment for Jitpack being Linux: https://github.com/jitpack/jitpack.io/issues/3853 Publishing to mavenCentral would remove...
Fixes #114
Adds multiplatform support for converting `sealed-enum` into a multiplatform library using `ksp` to generate code. Current progress: - [X] Convert project to use `kotlin("multiplatform")` plugin globally - [X] Convert `runtime`...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.14.2 to 1.14.3. Release notes Sourced from nokogiri's releases. 1.14.3 / 2023-04-11 Security [CRuby] Vendored libxml2 is updated to address CVE-2023-29469, CVE-2023-28484, and one other security-related issue....
[OkeyDoke](https://github.com/dmcg/okey-doke) is An Approval Testing library for Java and JUnit. It can help automate approval of changes to code generation, and thus move the burden from copy-pasting into checking the...
Kotlin 1.7.20 introduced a new `data object` variant of an object, as documented here: https://kotlinlang.org/docs/whatsnew1720.html#improved-string-representations-for-singletons-and-sealed-class-hierarchies-with-data-objects Whether this works out of the box or needs additional handling needs to be investigated.
The runtime portion of `sealed-enum` can quite easily be converted into a multiplatform project, since it is almost exclusively a pure-Kotlin project (the current exception is a `Class` in the...
This may be useful for library developers to restrict something or rearrange the APIs. It may be implemented as following: ``` enum class VisibilityLevel { Public, Internal, } // no...