public class ModuleMapFactory extends Object
Use this instead of directly creating a module map instance directory.
Constructor and Description |
---|
ModuleMapFactory() |
Modifier and Type | Method and Description |
---|---|
static ModuleMap |
createModuleMap(String moduleName,
ModuleMapMode moduleMapMode,
UmbrellaHeaderModuleMap.SwiftMode swiftMode,
Set<Path> headerPaths)
Creates a module map.
|
public static ModuleMap createModuleMap(String moduleName, ModuleMapMode moduleMapMode, UmbrellaHeaderModuleMap.SwiftMode swiftMode, Set<Path> headerPaths)
moduleName
- The name of the module.moduleMapMode
- The module map mode to use.swiftMode
- The Swift mode to use for umbrella header module maps. This parameter is
unused with umbrella directory module maps.headerPaths
- The exported headers of the module. This parameter is only used with headers
module maps.