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