public static propertyAnnotationCount(typeName as String, propertyName as String) as Int:
Returns the number of annotations on a reflected property.
| Parameter | Description |
|---|---|
typeName | Reflected type name. |
propertyName | Property name. |
Annotation count.
import klyn.reflection
print(TypeLoader.propertyAnnotationCount("User", "id"))