sealed trait VisibilityModifier extends AccessFlag
Common supertype of all explicit visibility modifiers/access flags.
- Source
- AccessFlag.scala
- Alphabetic
- By Inheritance
- VisibilityModifier
- AccessFlag
- PrimitiveAccessFlagsMatcher
- AccessFlagsMatcher
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract 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
- VisibilityModifier → AccessFlag
- abstract def mask: Int
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
- AccessFlag → PrimitiveAccessFlagsMatcher
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- 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
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def ||(right: AccessFlagsMatcher): AccessFlagsMatcher
- Definition Classes
- AccessFlagsMatcher
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated