// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.fasterxml.jackson.databind.deser.std; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JsonMappingException; // Referenced classes of package com.fasterxml.jackson.databind.deser.std: // StdScalarDeserializer, NumberDeserializers protected static abstract class _primitive extends StdScalarDeserializer { private static final long serialVersionUID = 1L; protected final Object _nullValue; protected final boolean _primitive; public final Object getNullValue() { return _nullValue; } public final Object getNullValue(DeserializationContext deserializationcontext) throws JsonMappingException { if (_primitive && deserializationcontext.isEnabled(DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES)) { throw deserializationcontext.mappingException("Can not map JSON null into type %s (set DeserializationConfig.DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES to 'false' to allow)", new Object[] { handledType().toString() }); } else { return _nullValue; } } protected a(Class class1, Object obj) { super(class1); _nullValue = obj; _primitive = class1.isPrimitive(); } }