public static class ModuleModifier.ModuleModifierKeyword extends Object
| Modifier and Type | Field and Description |
|---|---|
static ModuleModifier.ModuleModifierKeyword |
STATIC_KEYWORD
"static" modifier with flag value
ModuleModifier.STATIC_PHASE. |
static ModuleModifier.ModuleModifierKeyword |
TRANSITIVE_KEYWORD
"transitive" modifier with flag value
ModuleModifier.TRANSITIVE. |
| Modifier and Type | Method and Description |
|---|---|
static ModuleModifier.ModuleModifierKeyword |
fromFlagValue(int flagValue)
Returns the module modifier corresponding to the given single-bit flag value,
or
null if none or if more than one bit is set. |
int |
toFlagValue()
Returns the module modifier flag value corresponding to this module modifier keyword.
|
static ModuleModifier.ModuleModifierKeyword |
toKeyword(String keyword)
Returns the module modifier corresponding to the given string,
or
null if none. |
String |
toString()
Returns the keyword for the module modifier.
|
public static final ModuleModifier.ModuleModifierKeyword STATIC_KEYWORD
ModuleModifier.STATIC_PHASE.public static final ModuleModifier.ModuleModifierKeyword TRANSITIVE_KEYWORD
ModuleModifier.TRANSITIVE.public static ModuleModifier.ModuleModifierKeyword fromFlagValue(int flagValue)
null if none or if more than one bit is set.
fromFlagValue is the converse of toFlagValue:
that is, ModuleModifierKind.fromFlagValue(k.toFlagValue()) == k for
all module modifier keywords k.
flagValue - the single-bit flag value for the module modifiernull if nonetoFlagValue()public static ModuleModifier.ModuleModifierKeyword toKeyword(String keyword)
null if none.
toKeyword is the converse of toString:
that is, ModuleModifierKind.toKeyword(k.toString()) == k for
all module modifier keywords k.
keyword - the lowercase string name for the module modifiernull if nonetoString()public int toFlagValue()
ModuleModifier constantsfromFlagValue(int)public String toString()
toString in class ObjecttoKeyword(String)
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.