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.
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.
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.
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.
This method is just a more intuitively named alias for the unapply method.
Facilitates pattern matching against this AccessFlag
.
Facilitates pattern matching against this AccessFlag
.
case ClassFile(ACC_PUBLIC(),...)
To create more complex matchers, use the &
and !
methods.
True
iff " this
" flag is set in the given access flags bit vector.
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.
A class, field or method declaration's access flags. An access flag (e.g.,
public
orstatic
) 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.