ConstraintDescriptor
data class ConstraintDescriptor(val annotationFqName: String, val validatorFqName: String?, val message: String, val messageKey: String, val groups: List<String>, val targetType: KSType, val annotation: KSAnnotation, val isObjectLevel: Boolean = false, val isAsync: Boolean = false)
Symbol descriptor holding metadata for a resolved constraint annotation processed by KSP.
Constructors
Properties
Link copied to clipboard
Underlying KSP annotation symbol.
Link copied to clipboard
Fully qualified annotation class name.
Link copied to clipboard
true if attached at class/object level; false if property level.
Link copied to clipboard
Translation key string.
Link copied to clipboard
Target Kotlin property type symbol.
Link copied to clipboard
Fully qualified custom validator class name (if applicable).