Either

@ProcessorAnnotation(packageName = "dev.kord.codegen.ksp.processor")
annotation class Either(val names: Array<String>, val exclusive: Boolean = false)(source)

Instructs the processor to validate that either of names are present.

Properties

Link copied to clipboard
val exclusive: Boolean = false

whether there should be only once exclusive value

Link copied to clipboard