com.intellij.lang.annotation
Interface Annotator


public interface Annotator

Implemented by a custom language plugin to add annotations to files in the language.

See Also:
Language.getAnnotator()

Method Summary
 void annotate(PsiElement psiElement, AnnotationHolder holder)
          Annotates the specified PSI element.
 

Method Detail

annotate

void annotate(PsiElement psiElement,
              AnnotationHolder holder)
Annotates the specified PSI element.

Parameters:
psiElement - the element to annotate.
holder - the container which receives annotations created by the plugin.