Enum Class StepKind

java.lang.Object
java.lang.Enum<StepKind>
org.ek9lang.compiler.phase5.lockanalysis.StepKind
All Implemented Interfaces:
Serializable, Comparable<StepKind>, Constable

public enum StepKind extends Enum<StepKind>
Classifies a single step in a DeadlockChain's rationale trace. Used by the IDE to render the appropriate icon/treatment per step and by MCP consumers to filter or summarise.
  • Enum Constant Details

    • ENTER

      public static final StepKind ENTER
      An enter() call — the outer or inner of a nested pair.
    • KEY_BODY_ENTRY

      public static final StepKind KEY_BODY_ENTRY
      Entry into a MutexKey callback body.
    • CALL

      public static final StepKind CALL
      A normal call edge along the chain — f calls g.
    • CROSS_THREAD_BOUNDARY

      public static final StepKind CROSS_THREAD_BOUNDARY
      A thread-spawning call edge — the function continues on a different thread. The chain proceeds through this edge with composed edge kind CROSS_THREAD.
  • Method Details

    • values

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