Packages

sealed trait VisibilityModifier extends AccessFlag

Common supertype of all explicit visibility modifiers/access flags.

Source
AccessFlag.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VisibilityModifier
  2. AccessFlag
  3. PrimitiveAccessFlagsMatcher
  4. AccessFlagsMatcher
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. 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
    VisibilityModifierAccessFlag
  2. 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
    AccessFlagPrimitiveAccessFlagsMatcher

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. 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
    PrimitiveAccessFlagsMatcherAccessFlagsMatcher
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. 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.

  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. 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
    AccessFlagAccessFlagsMatcher
  19. 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
    PrimitiveAccessFlagsMatcherAccessFlagsMatcher
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. def ||(right: AccessFlagsMatcher): AccessFlagsMatcher
    Definition Classes
    AccessFlagsMatcher

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AccessFlag

Inherited from AccessFlagsMatcher

Inherited from AnyRef

Inherited from Any

Ungrouped