java.lang.Object
java.lang.Enum<JumpType>
org.benf.cfr.reader.bytecode.analysis.parse.utils.JumpType
All Implemented Interfaces:
Serializable, Comparable<JumpType>, Constable

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

    • NONE

      public static final JumpType NONE
    • GOTO

      public static final JumpType GOTO
    • GOTO_OUT_OF_IF

      public static final JumpType GOTO_OUT_OF_IF
    • GOTO_OUT_OF_TRY

      public static final JumpType GOTO_OUT_OF_TRY
    • BREAK

      public static final JumpType BREAK
    • BREAK_ANONYMOUS

      public static final JumpType BREAK_ANONYMOUS
    • CONTINUE

      public static final JumpType CONTINUE
    • END_BLOCK

      public static final JumpType END_BLOCK
  • Field Details

    • description

      private final String description
    • isUnknown

      private final boolean isUnknown
  • Constructor Details

    • JumpType

      private JumpType(String description, boolean isUnknown)
  • Method Details

    • values

      public static JumpType[] 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 JumpType 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
    • isUnknown

      public boolean isUnknown()
    • toString

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