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