MicroUtils/ksp/sealed/src/commonMain/kotlin/GenerateSealedWorkaround.kt

15 lines
469 B
Kotlin
Raw Normal View History

2024-10-19 07:44:37 +00:00
package dev.inmo.micro_utils.ksp.sealed
2024-06-25 16:04:25 +00:00
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS)
annotation class GenerateSealedWorkaround(
2024-07-24 20:27:33 +00:00
val prefix: String = "",
val includeNonSealedSubTypes: Boolean = false
2024-06-25 16:04:25 +00:00
) {
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS)
annotation class Order(val order: Int)
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS)
annotation class Exclude
}