Enum Class DebugOption

java.lang.Object
java.lang.Enum<DebugOption>
io.jooby.openapi.DebugOption
All Implemented Interfaces:
Serializable, Comparable<DebugOption>, Constable

public enum DebugOption extends Enum<DebugOption>
Debug options for OpenAPIGenerator.generate(String) when enabled it prints byte code at different levels.
  • Enum Constant Details

    • ALL

      public static final DebugOption ALL
      Print entire classes.
    • HANDLER

      public static final DebugOption HANDLER
      Print a route handler byte code. This is the lambda or method reference that contains the real code we need.
  • Method Details

    • values

      public static DebugOption[] 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 DebugOption 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