Class BytecodeValue


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

      • BytecodeValue

        public BytecodeValue​(Object value)
        Constructor.
        Parameters:
        value - Value.
      • BytecodeValue

        public BytecodeValue​(String type,
                             byte[] bytes)
        Constructor.
        Parameters:
        type - Value type.
        bytes - Value bytes.
    • Method Detail

      • object

        public Object object()
        Represent the value as an object.
        Returns:
        Object.
      • type

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

        public byte[] bytes()
        Retrieve the bytes of the value.
        Returns:
        Bytes.