202203204205206207208209210211212213214215
int ref = in.addRef(obj); while (! in.isEnd()) { Object key = in.readObject(); FieldDeserializer deser = (FieldDeserializer) _fieldMap.get(key); if (deser != null) deser.deserialize(in, obj); else in.readObject(); } in.readMapEnd();
259260261262263264265266267268269270271272
{ try { int ref = in.addRef(obj); for (String fieldName : fieldNames) { FieldDeserializer reader = _fieldMap.get(fieldName); if (reader != null) reader.deserialize(in, obj); else in.readObject(); } Object resolve = resolve(in, obj);
331332333334335336337338339340341
} catch (Throwable e) { e.printStackTrace(); } Class<?> type = field.getType(); FieldDeserializer deser; if (String.class.equals(type)) { deser = new StringFieldDeserializer(field); } else if (byte.class.equals(type)) {