Class BoxedIODef
java.lang.Object
dev.quantumfusion.hyphen.codegen.def.PrimitiveIODef
dev.quantumfusion.hyphen.codegen.def.BoxedIODef
- All Implemented Interfaces:
SerializerDef
-
Field Summary
FieldsFields inherited from class dev.quantumfusion.hyphen.codegen.def.PrimitiveIODef
primitive, size -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteGet(MethodHandler mh)Writes code for decoding the Clazz the definition is designed to handle.voidwritePut(MethodHandler mh, Runnable valueLoad)Writes code for encoding the Clazz the definition is designed to handle.Methods inherited from class dev.quantumfusion.hyphen.codegen.def.PrimitiveIODef
getSize, getStaticSize, hasDynamicSizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.quantumfusion.hyphen.codegen.def.SerializerDef
writeMeasure
-
Field Details
-
boxed
-
-
Constructor Details
-
BoxedIODef
-
-
Method Details
-
writeGet
Description copied from interface:SerializerDefWrites code for decoding the Clazz the definition is designed to handle.- Specified by:
writeGetin interfaceSerializerDef- Overrides:
writeGetin classPrimitiveIODef- Parameters:
mh- A MethodHandler
-
writePut
Description copied from interface:SerializerDefWrites code for encoding the Clazz the definition is designed to handle.- Specified by:
writePutin interfaceSerializerDef- Overrides:
writePutin classPrimitiveIODef- Parameters:
mh- A MethodHandlervalueLoad- A Runnable which pushes the Clazz value onto the stack.
-