code: private List<String> getComponentModules(CmsSetupComponent component) {
  
          List<String> modules = new ArrayList<String>();
          Iterator<String> itModules = m_availableModules.keySet().iterator();
          while (itModules.hasNext()) {
              String moduleName = itModules.next();
              if (component.match(moduleName)) {
                  modules.add(moduleName);
              }
          }
          return modules;
      }
docs: Returns a list of matching modules for the given component.<p>
  
  @param component the component to get the modules for
  
  @return a list of matching module names