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 Classes Modifier and Type Interface Description static class
Flag.ManifestationFlag
The constants of this enum describe whether a method or class is abstract, final or non-final.static class
Flag.MinimumVisibilityFlag
The constants of this enum represent the minimum visibility flag required by a type access, method call or field access.static class
Flag.OwnershipFlag
The constants of this enum describe whether a method/field is static or not.static class
Flag.VisibilityFlag
The constants of this enum represent the exact visibility of a referenced class, method or field.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
matches(int asmFlags)
Predicate method that determines whether this flag is present in the passed bitmask.String
name()
Same asEnum.name()
.
-
-
-
Method Detail
-
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()
.
-
-