src/org/openstreetmap/josm/plugins/opendata/core/modules/ModuleInformation.java
@SuppressWarnings("unchecked")
    public Class<? extends Module> loadClass(ClassLoader classLoader) throws ModuleException {
        if (className == null)
            return null;
        try {
            return (Class<? extends Module>) Class.forName(className, true, classLoader);
        } catch (Exception t) {
            throw new ModuleException(name, t);
        }
    }
/**
     * Load the class of the module
     *
     * @param classLoader the class loader to use
     * @return the loaded class
     * @throws ModuleException if the class cannot be found
     */
Load the class of the module

@param classLoader the class loader to use
@return the loaded class
@throws ModuleException if the class cannot be found
Load the class of the module @param classLoader the class loader to use @return the loaded class @throws ModuleException if the class cannot be found
@SuppressWarnings("unchecked")
    public Class<? extends Module> loadClass(ClassLoader classLoader) throws ModuleException {
        if (className == null)
            return null;
        try {
            return (Class<? extends Module>) Class.forName(className, true, classLoader);
        } catch (Exception t) {
            throw new ModuleException(name, t);
        }
    }
@ SuppressWarnings ( "unchecked" ) public Class < ? extends Module > loadClass ( ClassLoader classLoader ) throws ModuleException { if ( className == null ) return null ; try { return ( Class < ? extends Module > ) Class . forName ( className , true , classLoader ) ; } catch ( Exception t ) { throw new ModuleException ( name , t ) ; } }
Load the class of the module
Load the class of the module