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
PsiReference s for GenericDomValue
Returned PsiReference s should be soft (PsiReference.isSoft() should return true ). |
PsiReference [] createReferences(GenericDomValue<T> value, PsiElement element, ConvertContext context)
PsiReference
s for GenericDomValue
Returned PsiReference
s 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
- ConvertContext
PsiReference
s for the value