public interface PsiJvmModifiersOwner extends PsiModifierListOwner, JvmModifiersOwner
PsiLocalVariable or PsiRequiresStatement.
This is a bridge interface between them.
Known PsiModifierListOwners which are also JvmModifiersOwners:
PsiJvmMember inheritors, PsiParameter and PsiPackage.
Iconable.IconFlags, Iconable.LastComputedIconARRAY_FACTORY, EMPTY_ARRAYICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY| Modifier and Type | Method and Description |
|---|---|
default PsiAnnotation |
getAnnotation(java.lang.String fqn) |
default PsiAnnotation [] |
getAnnotations() |
default PsiElement |
getSourceElement() |
default boolean |
hasAnnotation(java.lang.String fqn) |
default boolean |
hasModifier(JvmModifier modifier)
Checks if the element effectively has the specified modifier.
|
getModifierList, hasModifierPropertyaccept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toStringgetUserData, putUserDataacceptdefault PsiAnnotation [] getAnnotations()
getAnnotations in interface JvmAnnotatedElementgetAnnotations in interface PsiModifierListOwnerdefault PsiAnnotation getAnnotation(java.lang.String fqn)
getAnnotation in interface JvmAnnotatedElementgetAnnotation in interface PsiModifierListOwnerdefault boolean hasAnnotation(java.lang.String fqn)
hasAnnotation in interface JvmAnnotatedElementhasAnnotation in interface PsiModifierListOwnerdefault boolean hasModifier(JvmModifier modifier)
JvmModifiersOwnerhasModifier in interface JvmModifiersOwnerhasModifier in interface PsiModifierListOwnermodifier - the modifier to checkdefault PsiElement getSourceElement()
getSourceElement in interface JvmElementnull if no source element is available