object ACC_STATIC_PHASE extends AccessFlag
- Source
- AccessFlag.scala
- Note
From the JVM 9 specification: "Indicates that this [inter-module] dependence is mandatory in the static phase, i.e., at compile time, but is optional in the dynamic phase, i.e., at run time."
,Only used in combination with Java 9 modules.
- Alphabetic
- By Inheritance
- ACC_STATIC_PHASE
- AccessFlag
- PrimitiveAccessFlagsMatcher
- AccessFlagsMatcher
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def &&(right: AccessFlagsMatcher): AccessFlagsMatcher
Creates a new matcher that matches
accessFlags
vectors where all flags defined by this matcher and the given matcher have to be defined.Creates a new matcher that matches
accessFlags
vectors where all flags defined by this matcher and the given matcher have to be defined.- Definition Classes
- PrimitiveAccessFlagsMatcher → AccessFlagsMatcher
- def isSet(accessFlags: Int): Boolean
Checks if
this
access flag is set in the given access flags bit vector.Checks if
this
access flag is set in the given access flags bit vector.- Definition Classes
- AccessFlag
- Note
This method is just a more intuitively named alias for the unapply method.
- final val javaName: Some[String]
The Java (source code) name of the access flag if it exists.
The Java (source code) name of the access flag if it exists. E.g., Some("public"), Some("native"), etc.
- Definition Classes
- ACC_STATIC_PHASE → AccessFlag
- final val mask: Int(64)
The
Int
mask of this access flag as defined by the JVM specification.The
Int
mask of this access flag as defined by the JVM specification.- Definition Classes
- ACC_STATIC_PHASE → AccessFlag → PrimitiveAccessFlagsMatcher
- def toString(): String
- Definition Classes
- ACC_STATIC_PHASE → AnyRef → Any
- def unapply(accessFlags: Int): Boolean
Facilitates pattern matching against this
AccessFlag
.Facilitates pattern matching against this
AccessFlag
.Example
case ClassFile(ACC_PUBLIC(),...)
To create more complex matchers, use the
&
and!
methods.- returns
True
iff "this
" flag is set in the given access flags bit vector.
- Definition Classes
- AccessFlag → AccessFlagsMatcher
- def unary_!: AccessFlagsMatcher
Creates a new matcher that matches
accessFlags
that do not have (all of) the accessFlags specified by the given matcher.Creates a new matcher that matches
accessFlags
that do not have (all of) the accessFlags specified by the given matcher.- Definition Classes
- PrimitiveAccessFlagsMatcher → AccessFlagsMatcher
- def ||(right: AccessFlagsMatcher): AccessFlagsMatcher
- Definition Classes
- AccessFlagsMatcher