Enum Class JumpType

java.lang.Object
java.lang.Enum<JumpType>
com.strobel.assembler.flowanalysis.JumpType
All Implemented Interfaces:
Serializable, Comparable<JumpType>, Constable

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

    • Normal

      public static final JumpType Normal
      A regular control flow edge.
    • JumpToExceptionHandler

      public static final JumpType JumpToExceptionHandler
      Jump to exception handler (an exception occurred).
    • LeaveTry

      public static final JumpType LeaveTry
      Jump from try block (not a real jump, as the finally handler executes first).
    • EndFinally

      public static final JumpType EndFinally
      Jump at the end of a finally block.
  • Constructor Details

    • JumpType

      private JumpType()
  • 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