public static attributeAnnotationName(typeName as String, attributeName as String, index as Int) as String:
Returns one annotation name on a reflected attribute.
| Parameter | Description |
|---|---|
typeName | Reflected type name. |
attributeName | Attribute name. |
index | Zero-based annotation index. |
Annotation name, or an empty string when unavailable.
import klyn.reflection
print(TypeLoader.attributeAnnotationName("User", "_id", 0))