protected class DelimitedListConverter.MyPsiReference extends PsiReferenceBase<PsiElement> implements EmptyResolveMessageProvider
PsiReferenceBase.Immediate<T extends PsiElement>, PsiReferenceBase.Poly<T extends PsiElement>| Modifier and Type | Field and Description | 
|---|---|
| protected ConvertContext | myContext | 
| protected GenericDomValue<java.util.List<T>> | myGenericDomValue | 
myElement, mySoftARRAY_FACTORY, EMPTY_ARRAY| Constructor and Description | 
|---|
| MyPsiReference(PsiElement element,
              TextRange range,
              ConvertContext context,
              GenericDomValue<java.util.List<T>> genericDomValue,
              boolean delimitersOnly) | 
| MyPsiReference(PsiElement element,
              TextRange range,
              ConvertContext context,
              GenericDomValue<java.util.List<T>> genericDomValue,
              boolean soft,
              boolean delimitersOnly) | 
| Modifier and Type | Method and Description | 
|---|---|
| PsiElement | bindToElement(PsiElement element)Changes the reference so that it starts to point to the specified element. | 
| java.lang.String | getUnresolvedMessagePattern()Returns custom unresolved message pattern. | 
| java.lang.Object [] | getVariants()Returns the array of String,  PsiElementand/orLookupElementinstances representing all identifiers that are visible at the location of the reference. | 
| PsiElement | handleElementRename(java.lang.String newElementName)Called when the reference target element has been renamed, in order to change the reference
 text according to the new name. | 
| PsiElement | resolve()Returns the element which is the target of the reference. | 
| java.lang.String | toString() | 
calculateDefaultRangeInElement, createSelfReference, createSelfReference, getCanonicalText, getElement, getRangeInElement, getValue, isReferenceTo, isSoft, setRangeInElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitresolveReference, resolvesTogetAbsoluteRangeprotected final ConvertContext myContext
protected final GenericDomValue<java.util.List<T>> myGenericDomValue
public MyPsiReference(PsiElement element, TextRange range, ConvertContext context, GenericDomValue<java.util.List<T>> genericDomValue, boolean delimitersOnly)
public MyPsiReference(PsiElement element, TextRange range, ConvertContext context, GenericDomValue<java.util.List<T>> genericDomValue, boolean soft, boolean delimitersOnly)
public PsiElement resolve()
PsiReferenceresolve in interface PsiReferencenull if it was not possible to resolve the reference to a valid target.PsiPolyVariantReference.multiResolve(boolean)public java.lang.Object [] getVariants()
PsiReferencePsiElement and/or LookupElement
 instances representing all identifiers that are visible at the location of the reference. The contents
 of the returned array is used to build the lookup list for basic code completion. (The list
 of visible identifiers may not be filtered by the completion prefix string - the
 filtering is performed later by the IDE.)
 This method is default since 2018.3.
getVariants in interface PsiReferencepublic PsiElement handleElementRename(java.lang.String newElementName) throws IncorrectOperationException
PsiReferencehandleElementRename in interface PsiReferencehandleElementRename in class PsiReferenceBase<PsiElement>newElementName - the new name of the target element.IncorrectOperationException - if the rename cannot be handled for some reason.public PsiElement bindToElement(PsiElement element) throws IncorrectOperationException
PsiReferencebindToElement in interface PsiReferencebindToElement in class PsiReferenceBase<PsiElement>element - the element which should become the target of the reference.IncorrectOperationException - if the rebind cannot be handled for some reason.public java.lang.String toString()
toString in class PsiReferenceBase<PsiElement>public java.lang.String getUnresolvedMessagePattern()
EmptyResolveMessageProviderMessageFormat.format() call.
 If the call fails, returned value is used as is.
 Resulting text should have Sentence capitalization.getUnresolvedMessagePattern in interface EmptyResolveMessageProvider