Class BytecodeValue
java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeValue
Bytecode value.
Represents a typed value in bytecode format.
- Since:
- 0.6
-
Constructor Summary
ConstructorsConstructorDescriptionBytecodeValue
(Object value) Constructor.BytecodeValue
(String type, byte[] bytes) Constructor. -
Method Summary
-
Constructor Details
-
BytecodeValue
Constructor.- Parameters:
value
- Value.
-
BytecodeValue
Constructor.- Parameters:
type
- Value type.bytes
- Value bytes.
-
-
Method Details
-
object
Represent the value as an object.- Returns:
- Object.
-
type
Retrieve the type of the value.- Returns:
- Type.
-
bytes
public byte[] bytes()Retrieve the bytes of the value.- Returns:
- Bytes.
-