src/org/openstreetmap/josm/plugins/opendata/core/modules/ModuleInformation.java
public Module load(Class<? extends Module> klass) throws ModuleException {
        try {
            return klass.getConstructor(ModuleInformation.class).newInstance(this);
        } catch (Exception t) {
            throw new ModuleException(name, t);
        }
    }
/**
     * Load and instantiate the module
     *
     * @param klass the module class
     * @return the instantiated and initialized module
     * @throws ModuleException if the module cannot be loaded or initialized
     */
Load and instantiate the module

@param klass the module class
@return the instantiated and initialized module
@throws ModuleException if the module cannot be loaded or initialized
Load and instantiate the module @param klass the module class @return the instantiated and initialized module @throws ModuleException if the module cannot be loaded or initialized
public Module load(Class<? extends Module> klass) throws ModuleException {
        try {
            return klass.getConstructor(ModuleInformation.class).newInstance(this);
        } catch (Exception t) {
            throw new ModuleException(name, t);
        }
    }
public Module load ( Class < ? extends Module > klass ) throws ModuleException { try { return klass . getConstructor ( ModuleInformation . class ) . newInstance ( this ) ; } catch ( Exception t ) { throw new ModuleException ( name , t ) ; } }
Load and instantiate the module
Load and instantiate the module