Add a new {ES6ModuleFilter} to the pipeline.
 @see ES6ModuleFilter#initialize
494959
def es6_module(*args, &block)
      filter(Rake::Pipeline::Web::Filters::ES6ModuleFilter, *args, &block)
    end
21583
private void initialize() {
        this.setTitle(Constant.messages.getString("filter.changeua.title"));
        this.setContentPane(getJPanel());
	    if (Model.getSingleton().getOptionsParam().getViewParam().getWmUiHandlingOption() == 0) {
	    	this.setSize(375, 173);
	    }
	    this.setPreferredSize(new Dimension(375, 173));
        
        for (int i=0; i<FilterChangeUserAgent.userAgentName.length; i++) {
            cmbUserAgent.addItem(FilterChangeUserAgent.userAgentName[i]);
        }
		this.pack();
	}
629710
function init(targetBuild) {
  // CONSIDER: The `|| StaticBuild.current` isn't really necessary.
  build = targetBuild || StaticBuild.current;
  initViewEngines();
  // Request Pipeline
  initFavicon();
  initLogging();
  initApiProxy();
  initParsing();
  initCssLESS();
  initSASS();
  initViewRouting();
  initErrorHandling();
}
1251657
public function Initialize() {
      $this->ModuleSortContainer = 'Profile';
      $this->Head = new HeadModule($this);
      $this->AddJsFile('jquery.js');
      $this->AddJsFile('jquery.livequery.js');
      $this->AddJsFile('jquery.form.js');
      $this->AddJsFile('jquery.popup.js');
      $this->AddJsFile('jquery.gardenhandleajaxform.js');
      $this->AddJsFile('global.js');
      
      $this->AddCssFile('style.css');
      $this->AddModule('GuestModule');
      parent::Initialize();
      
      Gdn_Theme::Section('Profile');
      
      if ($this->EditMode)
         $this->CssClass .= 'EditMode';

      $this->SetData('Breadcrumbs', array());
      $this->CanEditPhotos = C('Garden.Profile.EditPhotos') || Gdn::Session()->CheckPermission('Garden.Users.Edit');
   }
610888
void add(TouchPipeline pipeline) {
        for (int i = 0; i < pipeline.filters.size(); i++) {
            addFilter(pipeline.filters.get(i));
        }
    }
1146744
public function Initialize() {
      $this->Head = new HeadModule($this);
      $this->AddJsFile('jquery.js');
      $this->AddJsFile('jquery.livequery.js');
      $this->AddJsFile('jquery.form.js');
      $this->AddJsFile('jquery.popup.js');
      $this->AddJsFile('jquery.gardenhandleajaxform.js');
      $this->AddJsFile('global.js');
      $this->AddCssFile('style.css');
      $this->AddModule('GuestModule');
      parent::Initialize();
   }
1259417
@PostConstruct
  public void initialize() {

    if (this.initializationState.setInitializing()) {
      if (this.visibility == null) {
        this.visibility = VisibilityModifier.PUBLIC;
      }
      this.initializationState.setInitialized();
    }
  }
1125034
function PluginInitializationError (message, module) {
    this.message = message;
    this.stack = new Error().stack;
    this.module = module;
}
1334268
protected void initModule() {

        Object o;

        if (CmsStringUtil.isEmpty(getParamAction()) || CmsDialog.DIALOG_INITIAL.equals(getParamAction())) {
            // this is the initial dialog call
            if (CmsStringUtil.isNotEmpty(m_paramModule)) {
                // edit an existing module, get it from manager
                o = OpenCms.getModuleManager().getModule(m_paramModule);
            } else {
                // create a new module
                o = null;
            }
        } else {
            // this is not the initial call, get module from session
            o = getDialogObject();
        }

        if (!(o instanceof CmsModule)) {
            // create a new module
            m_module = new CmsModule();

        } else {
            // reuse module stored in session
            m_module = (CmsModule)((CmsModule)o).clone();
        }
    }
1049131
def _init():
    
    global finder

    if finder is None:
        finder = ModuleFinder()

    if finder not in sys.meta_path:
        sys.meta_path.insert(0, finder)
182610
public void init(FilterConfig filterConfig) throws ServletException {
		// need the Context for Logging, instantiating ClassLoader, etc
		ServletContextAccess sca=new ServletContextAccess(filterConfig); 
		if(access==null) {
			access = sca;
		}
		
		// Set Protected getter with base Access, for internal class instantiations
		init(new FCGet(access, sca.context(), filterConfig));
	}
825620
public final <T1 extends SourceFile, T2 extends SourceFile> void init(
      List<T1> externs, List<T2> sources, CompilerOptions options) {
    JSModule module = new JSModule(JSModule.STRONG_MODULE_NAME);
    for (SourceFile source : sources) {
      module.add(new CompilerInput(source));
    }

    List<JSModule> modules = new ArrayList<>(1);
    modules.add(module);
    initModules(externs, modules, options);
    addFilesToSourceMap(sources);
  }
1312777
private void addFilter(Filter filter) {
        boolean exists = false;
        for (Filter initedFilter : this.filters) {
            if (initedFilter.getClass() == filter.getClass()) {
                exists = true;
                break;
            }
        }

        if (!exists) {
            filter.init(this);
            this.filters.add(filter);
        }

    }
224855
private static void initializeDefaultModules(SecurityContext context)
	{
		if (context.isInitialized()) {
			return;
		}
		
		if (LOGGER.isDebugEnabled()) {
			LOGGER.debug("SecurityContext default module initializer starting");
		}
		
		String moduleName;
		
		// Loop through the module names
		for (int i=0; i<DEFAULT_MODULES.length; i++) {
			moduleName = DEFAULT_MODULES[i];
			try {
				LOGGER.debug(moduleName + MODULE_INITIALIZER_CLASS);
				
				// Get a class instance for the module initializer
				Class<?> clazz = Class.forName(moduleName + MODULE_INITIALIZER_CLASS);
				
				// Get the method instance for the module initializer's initialization method
				Method method = clazz.getMethod(MODULE_INITIALIZER_METHOD, (Class[])null);
				
				// Invoke the initialization method
				Object invokeResult = method.invoke(clazz.newInstance(), (Object[])null);
				
				// Validate that the result of the initialization is a valid module context
				if (invokeResult instanceof AbstractModuleContext) {
					
					// Register the module context
					context.registerModuleContext(moduleName, (AbstractModuleContext)invokeResult);
				} else {
					throw new IllegalArgumentException("Initializer method did not return correct type");
				}

				if (LOGGER.isInfoEnabled()) {
					LOGGER.info("SecurityContext module "+ moduleName + " initialized");
				}
			}  catch (ClassNotFoundException cnfe) {
				LOGGER.warn("SecurityContext module "+ moduleName + " not found, skipping.");
				if (LOGGER.isDebugEnabled()) {
					LOGGER.debug("Stack trace: ", cnfe);
				}
			} catch (NoSuchMethodException nsme) {
				LOGGER.warn("SecurityContext module "+ moduleName + " does not support default initialization, skipping.", nsme);
				if (LOGGER.isDebugEnabled()) {
					LOGGER.debug("Stack trace: ", nsme);
				}
			} catch (Throwable t) {
				LOGGER.error("Error initializing SecurityContext module "+ moduleName, t);
			} finally {

			}
		}
		if (LOGGER.isDebugEnabled()) {
			LOGGER.debug("SecurityContext default module initializer ending");
		}		
	}
854846
public function initializeModuleSystem()
    {
        $activatedModules = $this->moduleObjectBackend->loadObject();
        if (!is_array($activatedModules)) {
            $activatedModules = array();
        }
        
        $this->activatedModules = $activatedModules;
        
        foreach ($this->activatedModules as $activatedModule) {
            $this->initializeModule($activatedModule['path']);
        }
    }
400533
public function init()
    {
        foreach (self::$registered as $path => $module) {
            $path = trailingslashit($path);
            $source = $path . $module . '.php';
            $namespace = \Modularity\Helper\File::getNamespace($source);

            if (!$namespace) {
                continue;
            }

            require_once $source;
            $class = $namespace . '\\' . $module;
            $class = new $class();

            $this->register($class, $path);
        }

        do_action('Modularity/Init', $this);
    }
1166582
def init_module(filesystem):
    """"""
    # pylint: disable=protected-access
    FakePath.filesystem = filesystem
    FakePathlibModule.PureWindowsPath._flavour = _FakeWindowsFlavour(
        filesystem)
    FakePathlibModule.PurePosixPath._flavour = _FakePosixFlavour(filesystem)