public interface CustomReferenceConverter<T>
Converter instance, or used with
Referencing annotation.| Modifier and Type | Method and Description |
|---|---|
PsiReference [] |
createReferences(GenericDomValue<T> value,
PsiElement element,
ConvertContext context)
Will be called on creating
PsiReferences for GenericDomValue
Returned PsiReferences should be soft (PsiReference.isSoft() should return true). |
PsiReference [] createReferences(GenericDomValue<T> value, PsiElement element, ConvertContext context)
PsiReferences for GenericDomValue
Returned PsiReferences should be soft (PsiReference.isSoft() should return true).
To highlight unresolved references, create a DomElementsInspection and register it.value - GenericDomValue in questionelement - corresponding PSI elementcontext - ConvertContextPsiReferences for the value