    001    package cpw.mods.fml.relauncher;
    002
    003    import java.util.Map;
    004    import java.util.concurrent.Callable;
    005
    006    /**
    007     * This call hook allows for code to execute at the very early stages of
    008     * minecraft initialization. FML uses it to validate that there is a
    009     * safe environment for further loading of FML.
    010     *
    011     * @author cpw
    012     *
    013     */
    014    public interface IFMLCallHook extends Callable<Void>
    015    {
    016        /**
    017         * Injected with data from the FML environment:
    018         * "classLoader" : The FML Class Loader
    019         * @param data
    020         */
    021        void injectData(Map<String,Object> data);
    022    }