klyn.reflection.TypeLoader.attributeAnnotationName
method
public static attributeAnnotationName(typeName as String, attributeName as String, index as Int) as String:
Description

Returns one annotation name on a reflected attribute.

Parameters
ParameterDescription
typeNameReflected type name.
attributeNameAttribute name.
indexZero-based annotation index.
Returns

Annotation name, or an empty string when unavailable.

Example
import klyn.reflection
print(TypeLoader.attributeAnnotationName("User", "_id", 0))