Class ValueInfo


  • public final class ValueInfo
    extends Object
    A debugger-facing description of one interpreter value: its tag, a printable rendering, and the underlying object.
    • Constructor Detail

      • ValueInfo

        public ValueInfo​(ConcreteValue value)
        Captures the tag, display text, and boxed contents of a value.
        Parameters:
        value - the interpreter value to describe
        Throws:
        IllegalArgumentException - if the value is null
    • Method Detail

      • getType

        public String getType()
        Returns:
        the type
      • getValueString

        public String getValueString()
        Returns:
        the value string
      • getRawValue

        public Object getRawValue()
        Returns:
        the raw value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object