private @Nullable JBPopup getOldHector(){
    if (myHectorRef == null) return null;
    JBPopup hector = myHectorRef.get();
    if (hector == null || !hector.isVisible()){
      myHectorRef = null;
      return null;
    }
    return hector;
  }
private @Nullable JBPopup getOldHector()