Class EnumLiteral

  • All Implemented Interfaces:

    public class EnumLiteral
    extends java.lang.Object
    implements HasFields
    Enumeration literal implementation.
    • Constructor Summary

      Constructor Description
      Creates an unnamed EnumLiteral.
      EnumLiteral​(java.lang.String name)
      Creates an EnumLiteral with the given name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object arg)
      java.lang.Object get​(AbstractStackFrame frame, java.lang.Object literalName)
      Gets a value.
      int hashCode()
      void set​(AbstractStackFrame frame, java.lang.Object literalName, java.lang.Object value)
      Sets a value to the object.
      void setName​(java.lang.String name)  
      java.lang.String toString()
      void unset​(AbstractStackFrame frame, java.lang.Object name)
      Unsets a value to the object.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait