getDescriptionFromAnnotation
fun getDescriptionFromAnnotation(simpleName: String, qualifiedName: String?, annotationArguments: List<Pair<String, Any?>>): String?(source)
Extracts the description text from an annotation if it matches a recognized description annotation.
Simple annotation names are matched case-insensitively; fully qualified names are matched case-sensitively (exact match).
Return
The description text if found, or null if the annotation is not recognized or contains no matching description parameter
Parameters
simpleName
The simple name of the annotation (e.g., "Description")
qualifiedName
The fully qualified name of the annotation (e.g., "kotlinx.schema.Description"), or null if unavailable
annotationArguments
List of key-value pairs representing the annotation's parameters