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 enum 
    The constants of this enum describe whether a method or class is abstract, final or non-final.
    static enum 
    The constants of this enum represent the minimum visibility flag required by a type access, method call or field access.
    static enum 
    The constants of this enum describe whether a method/field is static or not.
    static enum 
    The constants of this enum represent the exact visibility of a referenced class, method or field.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(int asmFlags)
    Predicate method that determines whether this flag is present in the passed bitmask.
    Same as Enum.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 as Enum.name().