visibilityModifier¶
fun KtModifierList.visibilityModifier(): PsiElement?
Returns the visibility modifier token (public/private/protected/internal), or null if none is present.
fun KtModifierListOwner.visibilityModifier(): PsiElement?
Returns the visibility modifier token of this declaration, or null if none is present.