code: public static IInfoPanel findInfoPanel(PluginContainer container, boolean activeOnly) {
          return findInfoPanel(ElementUI.getAssociatedElement(container), activeOnly);
      }
docs: Finds the "nearest" info panel.
  
  @param container The container from which to begin the search.
  @param activeOnly If true, only active info panels are considered.
  @return The nearest active info panel, or null if none found.