code: private void findListeners(BaseComponent cmpt) {
          for (BaseComponent child : cmpt.getChildren()) {
              tryRegisterListener(child, true);
              tryRegisterListener(FrameworkController.getController(child), true);
              findListeners(child);
          }
      }
docs: Search the plugin's component tree for components (or their controllers) implementing the
  IPluginEvent interface. Those that are found are registered as listeners.
  
  @param cmpt BaseComponent to search