233234235236237238239240241242243244245246
int ref = in.addRef(obj); while (! in.isEnd()) { Object key = in.readObject(); FieldDeserializer deser = _fieldMap.get(key); if (deser != null) deser.deserialize(in, obj); else in.readObject(); } in.readMapEnd();
290291292293294295296297298299300301302303
{ 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);
368369370371372373374375376377378
} 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)) { deser = new ByteFieldDeserializer(field);
234235236237238239240241242243244245246247
291292293294295296297298299300301302303304
369370371372373374375376377378379