public class PsiCompositeModifierList extends LightModifierList
Iconable.IconFlags, Iconable.LastComputedIcon
myManager
FLAGS_LOCKED, ICON_PLACEHOLDER
ARRAY_FACTORY, EMPTY_ARRAY
ICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
EMPTY_NAVIGATABLE_ELEMENT_ARRAY
EMPTY_NAVIGATION_ITEM_ARRAY
Constructor and Description |
---|
PsiCompositeModifierList(PsiManager manager,
java.util.List<? extends PsiModifierList> sublists) |
Modifier and Type | Method and Description |
---|---|
PsiAnnotation |
findAnnotation(java.lang.String qualifiedName)
Searches the owner for an annotation with the specified fully qualified name
and returns one if it is found.
|
PsiAnnotation [] |
getAnnotations()
Returns the list of annotations syntactically contained in the element.
|
boolean |
hasExplicitModifier(java.lang.String name)
Checks if the modifier list has the specified modifier set by an explicit keyword.
|
boolean |
hasModifierProperty(java.lang.String name)
Checks if the modifier list has the specified modifier set either by an explicit keyword
or implicitly (for example, interface methods are implicitly public).
|
accept, addAnnotation, addModifier, checkSetModifierProperty, clearModifiers, copyModifiers, getApplicableAnnotations, getModifiers, getText, setModifierProperty, toString
add, addAfter, addBefore, checkAdd, checkDelete, copy, delete, findElementAt, getChildren, getContainingFile, getLanguage, getManager, getNavigationElement, getNextSibling, getNode, getParent, getPrevSibling, getStartOffsetInParent, getTextLength, getTextOffset, getTextRange, isPhysical, isValid, isWritable, replace, setNavigationElement, textMatches, textMatches, textToCharArray
acceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getContext, getFirstChild, getLastChild, getName, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, navigate, notNullChild, processDeclarations, textContains
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray
getUserData, putUserData
hasAnnotation
public PsiCompositeModifierList(PsiManager manager, java.util.List<? extends PsiModifierList> sublists)
public PsiAnnotation [] getAnnotations()
PsiAnnotationOwner
getAnnotations
in interface PsiAnnotationOwner
getAnnotations
in class LightModifierList
public PsiAnnotation findAnnotation(java.lang.String qualifiedName)
PsiAnnotationOwner
findAnnotation
in interface PsiAnnotationOwner
findAnnotation
in class LightModifierList
qualifiedName
- the fully qualified name of the annotation to find.public boolean hasModifierProperty(java.lang.String name)
PsiModifierList
hasModifierProperty
in interface PsiModifierList
hasModifierProperty
in class LightModifierList
name
- the name of the modifier to check.PsiModifierList.hasExplicitModifier(String)
public boolean hasExplicitModifier(java.lang.String name)
PsiModifierList
hasExplicitModifier
in interface PsiModifierList
hasExplicitModifier
in class LightModifierList
name
- the name of the modifier to check.PsiModifierList.hasModifierProperty(String)