@Override
  public synchronized void annotateElement(final PsiElement psiElement, final AnnotationHolder holder) {
    setHolder(holder);
    try {
      psiElement.accept(this);
    }
    finally {
      setHolder(null);
    }
  }
@Override
  public synchronized void annotateElement(final PsiElement psiElement, final AnnotationHolder holder)