Enum FrameField

java.lang.Object
java.lang.Enum<FrameField>
org.jruby.anno.FrameField
All Implemented Interfaces:
Serializable, Comparable<FrameField>, java.lang.constant.Constable

public enum FrameField extends Enum<FrameField>
  • Enum Constant Details

  • Field Details

    • bit

      private final int bit
  • Constructor Details

    • FrameField

      private FrameField()
  • Method Details

    • values

      public static FrameField[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FrameField valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • needsFrame

      public boolean needsFrame()
    • needsFrame

      public static boolean needsFrame(int bits)
    • needsScope

      public static boolean needsScope(int bits)
    • needsScope

      public boolean needsScope()
    • pack

      public static int pack(FrameField[] frameFields)
    • unpack

      public static Set<FrameField> unpack(int bits)