public static enum JModuleDirective.Type extends Enum<JModuleDirective.Type>
getType()
method which returns corresponding value.Enum Constant and Description |
---|
ExportsDirective
Directive starting with
exports keyword. |
RequiresDirective
Directive starting with
requires keyword. |
Modifier and Type | Method and Description |
---|---|
static JModuleDirective.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JModuleDirective.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JModuleDirective.Type RequiresDirective
requires
keyword.public static final JModuleDirective.Type ExportsDirective
exports
keyword.public static JModuleDirective.Type[] values()
for (JModuleDirective.Type c : JModuleDirective.Type.values()) System.out.println(c);
public static JModuleDirective.Type 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 nullCopyright © 2021 JBoss by Red Hat. All rights reserved.