Enum Class Category

java.lang.Object
java.lang.Enum<Category>
org.jruby.util.cli.Category
All Implemented Interfaces:
Serializable, Comparable<Category>, Constable

public enum Category extends Enum<Category>
Representation of available option categories, with a short name to use in printing descriptions.
  • Enum Constant Details

    • PARSER

      public static final Category PARSER
    • COMPILER

      public static final Category COMPILER
    • INVOKEDYNAMIC

      public static final Category INVOKEDYNAMIC
    • JIT

      public static final Category JIT
    • IR

      public static final Category IR
    • NATIVE

      public static final Category NATIVE
    • THREADPOOL

      public static final Category THREADPOOL
    • MISCELLANEOUS

      public static final Category MISCELLANEOUS
    • DEBUG

      public static final Category DEBUG
    • JAVA_INTEGRATION

      public static final Category JAVA_INTEGRATION
    • PROFILING

      public static final Category PROFILING
    • CLI

      public static final Category CLI
    • COMPLIANCE

      public static final Category COMPLIANCE
    • EXPERIMENTAL

      public static final Category EXPERIMENTAL
  • Method Details

    • values

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

      public static Category valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • desc

      public String desc()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Category>