Trait

org.opalj.bi

AccessFlag

Related Doc: package bi

Permalink

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.

Linear Supertypes
Known Subclasses
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]

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &&(right: AccessFlagsMatcher): AccessFlagsMatcher

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def isSet(accessFlags: Int): Boolean

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. def unapply(accessFlags: Int): Boolean

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def ||(right: AccessFlagsMatcher): AccessFlagsMatcher

    Permalink
    Definition Classes
    AccessFlagsMatcher

Inherited from AccessFlagsMatcher

Inherited from AnyRef

Inherited from Any

Ungrouped