Enum Class MutationCategory

java.lang.Object
java.lang.Enum<MutationCategory>
org.ek9lang.compiler.fuzz.MutationCategory
All Implemented Interfaces:
Serializable, Comparable<MutationCategory>, Constable

public enum MutationCategory extends Enum<MutationCategory>
Defines the mutation categories for user-facing mutation testing. Each category represents a specific class of semantic change that preserves compilability but alters behaviour.

These are EK9-specific: no break/return/continue to remove, operator-heavy, tri-state aware, purity-conscious.

  • Enum Constant Details

  • Method Details

    • values

      public static MutationCategory[] 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 MutationCategory 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
    • getDescription

      public String getDescription()
    • getLabel

      public String getLabel()