Class BnfNamedImpl

  • All Implemented Interfaces:
    com.intellij.lang.ASTNode, com.intellij.navigation.NavigationItem, com.intellij.openapi.util.Iconable, com.intellij.openapi.util.UserDataHolder, com.intellij.openapi.util.UserDataHolderEx, com.intellij.pom.Navigatable, com.intellij.psi.impl.ReparseableASTNode, com.intellij.psi.PsiElement, com.intellij.psi.PsiNamedElement, com.intellij.psi.PsiNameIdentifierOwner, java.io.Serializable, java.lang.Cloneable, BnfComposite, BnfNamedElement
    Direct Known Subclasses:
    BnfAttrImpl, BnfRuleImpl

    public abstract class BnfNamedImpl
    extends BnfCompositeImpl
    implements BnfNamedElement
    Created by IntelliJ IDEA. User: gregory Date: 14.07.11 Time: 20:04
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.intellij.openapi.util.Iconable

        com.intellij.openapi.util.Iconable.IconFlags
    • Field Summary

      • Fields inherited from class com.intellij.psi.impl.source.tree.CompositePsiElement

        ourHC
      • Fields inherited from class com.intellij.psi.impl.source.tree.CompositeElement

        EMPTY_ARRAY
      • Fields inherited from class com.intellij.psi.impl.ElementBase

        FLAGS_LOCKED
      • Fields inherited from interface com.intellij.openapi.util.Iconable

        ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
      • Fields inherited from interface com.intellij.navigation.NavigationItem

        EMPTY_NAVIGATION_ITEM_ARRAY
      • Fields inherited from interface com.intellij.psi.PsiElement

        ARRAY_FACTORY, EMPTY_ARRAY
      • Fields inherited from interface com.intellij.psi.PsiNamedElement

        EMPTY_ARRAY
    • Constructor Summary

      Constructors 
      Constructor Description
      BnfNamedImpl​(com.intellij.psi.tree.IElementType elementType)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.swing.Icon getIcon​(int flags)  
      @NotNull java.lang.String getName()  
      com.intellij.psi.PsiElement getNameIdentifier()  
      int getTextOffset()  
      @NotNull com.intellij.psi.search.SearchScope getUseScope()  
      static boolean hasModifier​(BnfRule rule, java.lang.String modifier)  
      com.intellij.psi.PsiElement setName​(@NonNls @NotNull java.lang.String s)  
      void subtreeChanged()  
      java.lang.String toString()  
      • Methods inherited from class com.intellij.psi.impl.source.tree.CompositePsiElement

        accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, checkAdd, checkDelete, clone, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getFirstChild, getLanguage, getLastChild, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPresentation, getPrevSibling, getProject, getReference, getReferences, getResolveScope, isEquivalentTo, isPhysical, isValid, isWritable, navigate, processDeclarations, replace
      • Methods inherited from class com.intellij.psi.impl.source.tree.CompositeElement

        acceptTree, addChild, addChild, addChildren, addInternal, addLeaf, applyDeleteOnReparse, applyInsertOnReparse, applyReplaceFileOnReparse, clearCaches, countChildren, createPsiNoLock, deleteChildInternal, findChildByRole, findChildByRoleAsPsiElement, findChildByType, findChildByType, findChildByType, findChildByType, findLeafElementAt, findPsiChildByType, findPsiChildByType, getCachedLength, getChars, getChildren, getChildrenAsPsiElements, getChildrenAsPsiElements, getChildRole, getChildRole, getFirstChildNode, getLastChildNode, getPsi, getPsi, getText, getTextLength, hc, rawAddChildren, rawAddChildrenWithoutNotifications, rawFirstChild, rawLastChild, rawRemoveAllChildren, removeAllChildren, removeChild, removeRange, replaceAllChildrenToChildrenOf, replaceChild, replaceChildInternal, setPsi, textContains, textMatches, textToCharArray
      • Methods inherited from class com.intellij.psi.impl.source.tree.TreeElement

        applyReplaceOnReparse, copyElement, equals, getElementType, getManager, getStartOffset, getStartOffsetInParent, getTextRange, getTreeNext, getTreeParent, getTreePrev, invalidate, onInvalidated, rawInsertAfterMe, rawInsertBeforeMe, rawRemove, rawRemoveUpTo, rawRemoveUpToLast, rawReplaceWithList, textMatches, textMatches, textMatches
      • Methods inherited from class com.intellij.psi.impl.ElementBase

        buildRowIcon, computeBaseIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, transformFlags
      • Methods inherited from class com.intellij.openapi.util.UserDataHolderBase

        changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
      • Methods inherited from class java.util.concurrent.atomic.AtomicReference

        accumulateAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, get, getAcquire, getAndAccumulate, getAndSet, getAndUpdate, getOpaque, getPlain, lazySet, set, setOpaque, setPlain, setRelease, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
      • Methods inherited from class java.lang.Object

        finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.intellij.lang.ASTNode

        getCopyableUserData, putCopyableUserData
      • Methods inherited from interface com.intellij.psi.PsiElement

        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, getOwnDeclarations, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextRange, getTextRangeInParent, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray
      • Methods inherited from interface com.intellij.psi.PsiNameIdentifierOwner

        getIdentifyingElement
      • Methods inherited from interface com.intellij.openapi.util.UserDataHolder

        getUserData, putUserData
    • Constructor Detail

      • BnfNamedImpl

        public BnfNamedImpl​(com.intellij.psi.tree.IElementType elementType)
    • Method Detail

      • subtreeChanged

        public void subtreeChanged()
        Overrides:
        subtreeChanged in class com.intellij.psi.impl.source.tree.CompositeElement
      • getName

        @NotNull
        public @NotNull java.lang.String getName()
        Specified by:
        getName in interface BnfNamedElement
        Specified by:
        getName in interface com.intellij.navigation.NavigationItem
        Specified by:
        getName in interface com.intellij.psi.PsiNamedElement
        Overrides:
        getName in class com.intellij.psi.impl.source.tree.CompositePsiElement
      • setName

        public com.intellij.psi.PsiElement setName​(@NonNls @NotNull
                                                   @NonNls @NotNull java.lang.String s)
                                            throws com.intellij.util.IncorrectOperationException
        Specified by:
        setName in interface com.intellij.psi.PsiNamedElement
        Throws:
        com.intellij.util.IncorrectOperationException
      • getTextOffset

        public int getTextOffset()
        Specified by:
        getTextOffset in interface com.intellij.psi.PsiElement
        Overrides:
        getTextOffset in class com.intellij.psi.impl.source.tree.TreeElement
      • getUseScope

        @NotNull
        public @NotNull com.intellij.psi.search.SearchScope getUseScope()
        Specified by:
        getUseScope in interface com.intellij.psi.PsiElement
        Overrides:
        getUseScope in class com.intellij.psi.impl.source.tree.CompositePsiElement
      • getIcon

        public javax.swing.Icon getIcon​(int flags)
        Specified by:
        getIcon in interface com.intellij.openapi.util.Iconable
        Overrides:
        getIcon in class com.intellij.psi.impl.ElementBase
      • getNameIdentifier

        public com.intellij.psi.PsiElement getNameIdentifier()
        Specified by:
        getNameIdentifier in interface com.intellij.psi.PsiNameIdentifierOwner
      • hasModifier

        public static boolean hasModifier​(BnfRule rule,
                                          java.lang.String modifier)
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface com.intellij.psi.PsiElement
        Overrides:
        toString in class BnfCompositeImpl