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.
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.
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.
Identifies a class as defining a Java 9 module.
Only used in combination with Java 9 modules.
,super_class, interfaces_count, fields_count, methods_count: zero. I.e., a module does not have a super class.
,From the specification: "If ACC_MODULE is set in ClassFile.access_flags, then no other flag in
ClassFile.access_flags
may be set." The name of the class has to be "/module-info".