@Override
  public void initialize(@NotNull GlobalInspectionContext context) {
    RefManagerImpl refManager = (RefManagerImpl)context.getRefManager();
    final RefGraphAnnotator annotator = getTool().getAnnotator(refManager);
    if (annotator != null) {
      refManager.registerGraphAnnotator(annotator);
    }
    super.initialize(context);
  }
@Override
  public void initialize(@NotNull GlobalInspectionContext context)