ModuleRendererFactory (Object element) { for (ModuleRendererFactory factory : EP_NAME.getExtensions()) { if (factory.handles(element)) { return factory; } } assert false : "No factory found for " + element; return null; }