Interface Flag
- All Known Implementing Classes:
Flag.ManifestationFlag,Flag.MinimumVisibilityFlag,Flag.OwnershipFlag,Flag.VisibilityFlag
public interface Flag
Expected flag (or lack of flag) on a class, method or field reference.
This class is used in the auto-generated InstrumentationModule#getMuzzleReferences()
method, it is not meant to be used directly by agent extension developers.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe constants of this enum describe whether a method or class is abstract, final or non-final.static enumThe constants of this enum represent the minimum visibility flag required by a type access, method call or field access.static enumThe constants of this enum describe whether a method/field is static or not.static enumThe constants of this enum represent the exact visibility of a referenced class, method or field. -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(int asmFlags) Predicate method that determines whether this flag is present in the passed bitmask.name()Same asEnum.name().
-
Method Details
-
matches
boolean matches(int asmFlags) Predicate method that determines whether this flag is present in the passed bitmask.- See Also:
-
Opcodes
-
name
String name()Same asEnum.name().
-