Klasse ModuleModifier.ModuleModifierKeyword
java.lang.Object
org.aspectj.org.eclipse.jdt.core.dom.ModuleModifier.ModuleModifierKeyword
- Umschließende Klasse:
ModuleModifier
Module Modifier keywords (typesafe enumeration).
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final ModuleModifier.ModuleModifierKeyword
"static" modifier with flag valueModuleModifier.STATIC_PHASE
.static final ModuleModifier.ModuleModifierKeyword
"transitive" modifier with flag valueModuleModifier.TRANSITIVE
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfromFlagValue
(int flagValue) Returns the module modifier corresponding to the given single-bit flag value, ornull
if none or if more than one bit is set.int
Returns the module modifier flag value corresponding to this module modifier keyword.Returns the module modifier corresponding to the given string, ornull
if none.toString()
Returns the keyword for the module modifier.
-
Felddetails
-
STATIC_KEYWORD
"static" modifier with flag valueModuleModifier.STATIC_PHASE
. -
TRANSITIVE_KEYWORD
"transitive" modifier with flag valueModuleModifier.TRANSITIVE
.
-
-
Methodendetails
-
fromFlagValue
Returns the module modifier corresponding to the given single-bit flag value, ornull
if none or if more than one bit is set.fromFlagValue
is the converse oftoFlagValue
: that is,ModuleModifierKind.fromFlagValue(k.toFlagValue()) == k
for all module modifier keywordsk
.- Parameter:
flagValue
- the single-bit flag value for the module modifier- Gibt zurück:
- the module modifier keyword, or
null
if none - Siehe auch:
-
toKeyword
Returns the module modifier corresponding to the given string, ornull
if none.toKeyword
is the converse oftoString
: that is,ModuleModifierKind.toKeyword(k.toString()) == k
for all module modifier keywordsk
.- Parameter:
keyword
- the lowercase string name for the module modifier- Gibt zurück:
- the module modifier keyword, or
null
if none - Siehe auch:
-
toFlagValue
public int toFlagValue()Returns the module modifier flag value corresponding to this module modifier keyword. These flag values are as described in the Java Virtual Machine Specification.- Gibt zurück:
- one of the
ModuleModifier
constants - Siehe auch:
-
toString
Returns the keyword for the module modifier.
-