/** * Creates Java module instance and adds existing packages with classes to the Java module info. * Used to initialize and build Java module instance with existing packages content. * @param name The Name of Java module. * @param requires Requires directives to add. * @throws IllegalStateException when Java module instance was not initialized. */ public void _prepareModuleInfo(final String name, final String ...requires) { _moduleInfo(name); _updateModuleInfo(requires); }
/** * Creates Java module instance and adds existing packages with classes to the Java module info. * Used to initialize and build Java module instance with existing packages content. * @param name The Name of Java module. * @param requires Requires directives to add. * @throws IllegalStateException when Java module instance was not initialized. */ public void _prepareModuleInfo(final String name, final String ...requires) { _moduleInfo(name); _updateModuleInfo(requires); }