/**
  * Method deserializers can call to inform configured {@link DeserializationProblemHandler}s of an
  * unrecognized property.
  */
 public boolean handleUnknownProperty(
     JsonParser jp, JsonDeserializer<?> deser, Object instanceOrClass, String propName)
     throws IOException, JsonProcessingException {
   LinkedNode<DeserializationProblemHandler> h = _config.getProblemHandlers();
   if (h != null) {
     while (h != null) {
       // Can bail out if it's handled
       if (h.value().handleUnknownProperty(this, jp, deser, instanceOrClass, propName)) {
         return true;
       }
       h = h.next();
     }
   }
   return false;
 }
示例#2
0
 protected void fillInAttribute(LinkedNode node) throws SnapshotException {
   IObject heapObject = snapshot.getObject(node.parent.objectId);
   long parentAddress = snapshot.mapIdToAddress(node.objectId);
   node.attribute = extractAttribute(heapObject, parentAddress);
 }