klyn.reflection.TypeLoader.propertyAnnotationCount
method

    public static propertyAnnotationCount(typeName as String, propertyName as String) as Int:

Description

Returns the number of annotations on a reflected property.

Parameters

Parameter | Description
--- | ---
`typeName` | Reflected type name.
`propertyName` | Property name.

Returns

Annotation count.

Example

    import klyn.reflection
    print(TypeLoader.propertyAnnotationCount("User", "id"))