Class BnfReferenceImpl<T extends BnfExpression>

java.lang.Object
com.intellij.psi.PsiReferenceBase<T>
org.intellij.grammar.psi.impl.BnfReferenceImpl<T>
All Implemented Interfaces:
com.intellij.codeInsight.daemon.EmptyResolveMessageProvider, com.intellij.psi.PsiReference

public class BnfReferenceImpl<T extends BnfExpression> extends com.intellij.psi.PsiReferenceBase<T> implements com.intellij.codeInsight.daemon.EmptyResolveMessageProvider
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class com.intellij.psi.PsiReferenceBase

    com.intellij.psi.PsiReferenceBase.Immediate<T extends com.intellij.psi.PsiElement>, com.intellij.psi.PsiReferenceBase.Poly<T extends com.intellij.psi.PsiElement>
  • Field Summary

    Fields inherited from class com.intellij.psi.PsiReferenceBase

    myElement, mySoft

    Fields inherited from interface com.intellij.psi.PsiReference

    ARRAY_FACTORY, EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
    BnfReferenceImpl(T element, com.intellij.openapi.util.TextRange range)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
     
    com.intellij.psi.PsiElement
     

    Methods inherited from class com.intellij.psi.PsiReferenceBase

    bindToElement, calculateDefaultRangeInElement, createSelfReference, createSelfReference, getCanonicalText, getElement, getRangeInElement, getValue, handleElementRename, isReferenceTo, isSoft, setRangeInElement, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.intellij.psi.PsiReference

    getAbsoluteRange, getVariants
  • Constructor Details

    • BnfReferenceImpl

      public BnfReferenceImpl(@NotNull T element, com.intellij.openapi.util.TextRange range)
  • Method Details

    • resolve

      public com.intellij.psi.PsiElement resolve()
      Specified by:
      resolve in interface com.intellij.psi.PsiReference
    • getUnresolvedMessagePattern

      @NotNull public @NotNull String getUnresolvedMessagePattern()
      Specified by:
      getUnresolvedMessagePattern in interface com.intellij.codeInsight.daemon.EmptyResolveMessageProvider