isTopLevelPropertyAnnotatedWith

fun PsiElement.isTopLevelPropertyAnnotatedWith(annotationShortName: String): Boolean

Return

true if this is a top-level property, annotated with annotation with annotationShortName, false otherwise

Parameters

annotationShortName

short name of annotation