toConstraintMetadata

open fun toConstraintMetadata(annotation: KSAnnotation, message: String, messageKey: String, groups: List<String>): ConstraintMetadata

Maps the annotation to a ConstraintMetadata object at compile time.