Enum Class SymbolError.Kind

java.lang.Object
java.lang.Enum<SymbolError.Kind>
com.darkcollective.relix.symbol.SymbolError.Kind
All Implemented Interfaces:
Serializable, Comparable<SymbolError.Kind>, Constable
Enclosing class:
SymbolError

public static enum SymbolError.Kind extends Enum<SymbolError.Kind>
Classification of symbol registration errors.
  • Enum Constant Details

    • SHADOW_FORBIDDEN

      public static final SymbolError.Kind SHADOW_FORBIDDEN
      The existing symbol forbids shadowing; the incoming symbol was rejected and the table was not modified.
    • SHADOW_WARNING

      public static final SymbolError.Kind SHADOW_WARNING
      The existing symbol permits shadowing with a warning; the incoming symbol has been registered in place of the old one.
  • Method Details

    • values

      public static SymbolError.Kind[] 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 SymbolError.Kind 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