references_and_resolve.md: mention HintedReferenceHost

This commit is contained in:
Yann Cébron 2020-05-19 14:52:34 +02:00
parent d5b11406de
commit aa71eaf077

View File

@ -39,7 +39,7 @@ to a ResourceBundle in the
[Properties language plugin](upsource:///plugins/properties)
- [Custom Language Support Tutorial: Reference Contributor](/tutorials/custom_language_support/reference_contributor.md)
> **TIP** Please see also _Cache results of heavy computations_ in [Working with PSI efficiently](/reference_guide/performance/performance.md#working-with-psi-efficiently).
> **TIP** To optimize `getReferences()` performance, consider implementing [`HintedReferenceHost`](upsource:///platform/core-api/src/com/intellij/psi/HintedReferenceHost.java) to provide additional hints. Please see also _Cache Results of Heavy Computations_ in [Working with PSI efficiently](/reference_guide/performance/performance.md#working-with-psi-efficiently).
There's a set of interfaces which can be used as a base for implementing resolve support, namely the
[`PsiScopeProcessor`](upsource:///platform/core-api/src/com/intellij/psi/scope/PsiScopeProcessor.java) interface and the