improve sealed workaround generation

This commit is contained in:
2024-07-25 02:27:33 +06:00
parent d164813bb4
commit 698ed6718d
3 changed files with 60 additions and 10 deletions

View File

@@ -3,7 +3,8 @@ package dev.inmo.microutils.kps.sealed
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS)
annotation class GenerateSealedWorkaround(
val prefix: String = ""
val prefix: String = "",
val includeNonSealedSubTypes: Boolean = false
) {
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS)