// 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.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.DeserializationFeature; import java.io.IOException; import java.math.BigDecimal; // Referenced classes of package com.fasterxml.jackson.databind.deser.std: // StdScalarDeserializer, NumberDeserializers public static class Y extends StdScalarDeserializer { public static final deserialize instance = new (); public volatile Object deserialize(JsonParser jsonparser, DeserializationContext deserializationcontext) throws IOException, JsonProcessingException { return deserialize(jsonparser, deserializationcontext); } public BigDecimal deserialize(JsonParser jsonparser, DeserializationContext deserializationcontext) throws IOException { jsonparser.getCurrentTokenId(); JVM INSTR tableswitch 3 8: default 44 // 3 105 // 4 44 // 5 44 // 6 64 // 7 57 // 8 57; goto _L1 _L2 _L1 _L1 _L3 _L4 _L4 _L1: throw deserializationcontext.mappingException(_valueClass, jsonparser.getCurrentToken()); _L4: Object obj = jsonparser.getDecimalValue(); _L6: return ((BigDecimal) (obj)); _L3: jsonparser = jsonparser.getText().trim(); if (jsonparser.length() == 0) { return null; } try { obj = new BigDecimal(jsonparser); } // Misplaced declaration of an exception variable catch (Object obj) { throw deserializationcontext.weirdStringException(jsonparser, _valueClass, "not a valid representation"); } return ((BigDecimal) (obj)); _L2: if (!deserializationcontext.isEnabled(DeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS)) { continue; /* Loop/switch isn't completed */ } jsonparser.nextToken(); obj = deserialize(jsonparser, deserializationcontext); if (jsonparser.nextToken() != JsonToken.END_ARRAY) { throw deserializationcontext.wrongTokenException(jsonparser, JsonToken.END_ARRAY, "Attempted to unwrap single value array for single 'BigDecimal' value but there was more than a single value in the array"); } if (true) goto _L6; else goto _L5 _L5: if (true) goto _L1; else goto _L7 _L7: } public Y() { super(java/math/BigDecimal); } }