public void serialize_inlined( ThreadContext tc, STable st, SerializationWriter writer, String prefix, SixModelObject obj) { try { writer.writeNum((double) obj.getClass().getField(prefix).get(obj)); } catch (Exception e) { throw new RuntimeException(e); } }
public void serializeValues(ThreadContext tc, SerializationWriter writer) { for (int i = 0; i < slots.length; i++) writer.writeRef(slots[i]); }
public void serialize(ThreadContext tc, SerializationWriter writer, SixModelObject obj) { writer.writeNum(((P6numInstance) obj).value); }