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

Parameter | Description
--- | ---
`typeName` | Reflected type name.
`attributeName` | Attribute name.
`index` | Zero-based annotation index.

Returns

Annotation name, or an empty string when unavailable.

Example

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