public interface Annotator
DO NOT STORE any state inside annotator.
If you absolutely must, clear the state upon exit from the annotate(PsiElement, AnnotationHolder) method.
LanguageAnnotators| Modifier and Type | Method and Description |
|---|---|
void |
annotate(PsiElement element,
AnnotationHolder holder)
Annotates the specified PSI element.
|
void annotate(PsiElement element, AnnotationHolder holder)
element - to annotate.holder - the container which receives annotations created by the plugin.