isEnumDefaultAnnotation

fun isEnumDefaultAnnotation(simpleName: String, qualifiedName: String? = null): Boolean(source)

Checks whether the given annotation is recognized as an enum-default-value marker (e.g. Jackson's @JsonEnumDefaultValue), placed on a single enum constant to mark it as that enum type's default value.

Simple annotation names are matched case-insensitively; fully qualified names are matched case-sensitively (exact match).

Return

true if the annotation is recognized as an enum-default-value marker

Parameters

simpleName

The simple name of the annotation (e.g., "JsonEnumDefaultValue")

qualifiedName

The fully qualified name of the annotation, or null if unavailable