Interface Flag
-
- All Known Implementing Classes:
Flag.ManifestationFlag,Flag.MinimumVisibilityFlag,Flag.OwnershipFlag,Flag.VisibilityFlag
public interface FlagExpected 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 classFlag.ManifestationFlagThe constants of this enum describe whether a method or class is abstract, final or non-final.static classFlag.MinimumVisibilityFlagThe constants of this enum represent the minimum visibility flag required by a type access, method call or field access.static classFlag.OwnershipFlagThe constants of this enum describe whether a method/field is static or not.static classFlag.VisibilityFlagThe 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 booleanmatches(int asmFlags)Predicate method that determines whether this flag is present in the passed bitmask.Stringname()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().
-
-