isAnnotatedWith

fun KtProperty.isAnnotatedWith(annotationShortName: String): Boolean

Return

true if this is annotated with annotation with annotationShortName, false otherwise

Parameters

annotationShortName

short name of annotation