public enum ModuleMapMode extends Enum<ModuleMapMode>
Enum Constant and Description |
---|
HEADERS
Generate a module map with explicit "header" declarations.
|
UMBRELLA_HEADER
Generate a module map that requires an umbrella header.
|
Modifier and Type | Method and Description |
---|---|
boolean |
shouldGenerateMissingUmbrellaHeader()
If true, an umbrella header for the module should be created if it is not already present in
the user-declared exported header files.
|
static ModuleMapMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleMapMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleMapMode HEADERS
public static final ModuleMapMode UMBRELLA_HEADER
public static ModuleMapMode[] values()
for (ModuleMapMode c : ModuleMapMode.values()) System.out.println(c);
public static ModuleMapMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean shouldGenerateMissingUmbrellaHeader()