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
ParameterDescription
typeNameReflected type name.
propertyNameProperty name.
Returns

Annotation count.

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