Package org.jruby

Enum CompatVersion

All Implemented Interfaces:
Serializable, Comparable<CompatVersion>, java.lang.constant.Constable

@Deprecated public enum CompatVersion extends Enum<CompatVersion>
Deprecated.
  • Enum Constant Details

  • Constructor Details

    • CompatVersion

      private CompatVersion()
      Deprecated.
  • Method Details

    • values

      public static CompatVersion[] values()
      Deprecated.
      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 CompatVersion valueOf(String name)
      Deprecated.
      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
    • is1_9

      @Deprecated public boolean is1_9()
      Deprecated.
    • is2_0

      @Deprecated public boolean is2_0()
      Deprecated.
    • getVersionFromString

      @Deprecated public static CompatVersion getVersionFromString(String compatString)
      Deprecated.
    • shouldBindMethod

      @Deprecated public static boolean shouldBindMethod(CompatVersion runtimeVersion, CompatVersion methodVersion)
      Deprecated.