Module aya.base

Enum Class Decl.Personality

java.lang.Object
java.lang.Enum<Decl.Personality>
org.aya.concrete.stmt.Decl.Personality
All Implemented Interfaces:
Serializable, Comparable<Decl.Personality>, Constable
Enclosing interface:
Decl

public static enum Decl.Personality extends Enum<Decl.Personality>
See Also:
  • Enum Constant Details

    • NORMAL

      public static final Decl.Personality NORMAL
      Denotes that the definition is a normal definition (default behavior)
    • EXAMPLE

      public static final Decl.Personality EXAMPLE
      Denotes that the definition is an example (same as normal, but in separated context)
    • COUNTEREXAMPLE

      public static final Decl.Personality COUNTEREXAMPLE
      Denotes that the definition is a counterexample (errors expected, in separated context)
  • Method Details

    • values

      public static Decl.Personality[] 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 Decl.Personality 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