public interface PsiModifierListOwner extends PsiElement
Iconable.IconFlags, Iconable.LastComputedIcon
ARRAY_FACTORY, EMPTY_ARRAY
ICON_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() |
PsiModifierList |
getModifierList()
Returns the list of modifiers for the element.
|
default boolean |
hasAnnotation(java.lang.String fqn) |
default boolean |
hasModifier(JvmModifier modifier) |
boolean |
hasModifierProperty(java.lang.String name)
Checks if the element has the specified modifier.
|
accept, 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, toString
getUserData, putUserData
PsiModifierList getModifierList()
boolean hasModifierProperty(java.lang.String name)
PsiModifier
class.name
- the name of the modifier to check.default PsiAnnotation [] getAnnotations()
default PsiAnnotation getAnnotation(java.lang.String fqn)
default boolean hasAnnotation(java.lang.String fqn)
default boolean hasModifier(JvmModifier modifier)