- All Known Implementing Classes:
AccessLevel,ModifierFlag
Some kind of modifier (flag or access level).
-
Method Summary
Modifier and TypeMethodDescriptionintmask()Returns the bitmask of this modifier.booleanvalidIn(ModifierLocation location) Returnstrueif this modifier is valid in the given location, orfalseif it is invalid.
-
Method Details
-
validIn
Returnstrueif this modifier is valid in the given location, orfalseif it is invalid.- Returns:
trueif this modifier is valid in the given location, orfalseif it is invalid
-
mask
int mask()Returns the bitmask of this modifier.- Returns:
- the bitmask of this modifier
-