Packages

t

org.opalj.bi

AccessFlag

sealed trait AccessFlag extends PrimitiveAccessFlagsMatcher

A class, field or method declaration's access flags. An access flag (e.g., public or static) is basically just a specific bit that can be combined with other access flags to create an integer based bit vector that represents all flags defined for a class, method or field declaration. Access flags are generally context dependent and the same value means different things depending on the context.

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

Abstract Value Members

  1. abstract def javaName: Option[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.

  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.

    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 AccessFlagsMatcher

Inherited from AnyRef

Inherited from Any

Ungrouped