Class BytecodeObject


  • public final class BytecodeObject
    extends Object
    Bytecode value. Represents a typed value in bytecode format.
    Since:
    0.6
    • Constructor Detail

      • BytecodeObject

        public BytecodeObject​(Object value)
        Constructor.
        Parameters:
        value - Value.
    • Method Detail

      • type

        public String type()
        Retrieve the type of the value.
        Returns:
        Type.
      • value

        public Object value()
        Retrieve the value.
        Returns:
        Value.
      • encode

        public byte[] encode​(Codec codec)
        Retrieve the bytes of the value.
        Parameters:
        codec - Codec.
        Returns:
        Bytes.