public void registerGraphAnnotator(@NotNull RefGraphAnnotator annotator) {
    if (!myGraphAnnotators.contains(annotator)) {
      myGraphAnnotators.add(annotator);
      if (annotator instanceof RefGraphAnnotatorEx) {
        ((RefGraphAnnotatorEx)annotator).initialize(this);
      }
    }
  }
public void registerGraphAnnotator(@NotNull RefGraphAnnotator annotator)