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. All

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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. 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.

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

Inherited from AccessFlagsMatcher

Inherited from AnyRef

Inherited from Any

Ungrouped