Module aya.base

Enum Class DeclInfo.Personality

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

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

    • NORMAL

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

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

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

    • values

      public static DeclInfo.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 DeclInfo.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