public class com.fasterxml.jackson.databind.deser.std.EnumDeserializer extends com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<java.lang.Object> implements com.fasterxml.jackson.databind.deser.ContextualDeserializer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.databind.deser.std.EnumDeserializer
super_class: com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected java.lang.Object[] _enumsByIndex;
descriptor: [Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
private final java.lang.Enum<?> _enumDefaultValue;
descriptor: Ljava/lang/Enum;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Enum<*>;
protected final com.fasterxml.jackson.databind.util.CompactStringObjectMap _lookupByName;
descriptor: Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected com.fasterxml.jackson.databind.util.CompactStringObjectMap _lookupByToString;
descriptor: Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
flags: (0x0004) ACC_PROTECTED
protected final java.lang.Boolean _caseInsensitive;
descriptor: Ljava/lang/Boolean;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(com.fasterxml.jackson.databind.util.EnumResolver, java.lang.Boolean);
descriptor: (Lcom/fasterxml/jackson/databind/util/EnumResolver;Ljava/lang/Boolean;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.fasterxml.jackson.databind.util.EnumResolver.getEnumClass:()Ljava/lang/Class;
invokespecial com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer.<init>:(Ljava/lang/Class;)V
1: aload 0
aload 1
invokevirtual com.fasterxml.jackson.databind.util.EnumResolver.constructLookup:()Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
putfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._lookupByName:Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
2: aload 0
aload 1
invokevirtual com.fasterxml.jackson.databind.util.EnumResolver.getRawEnums:()[Ljava/lang/Enum;
putfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumsByIndex:[Ljava/lang/Object;
3: aload 0
aload 1
invokevirtual com.fasterxml.jackson.databind.util.EnumResolver.getDefaultValue:()Ljava/lang/Enum;
putfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumDefaultValue:Ljava/lang/Enum;
4: aload 0
aload 2
putfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._caseInsensitive:Ljava/lang/Boolean;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
0 6 1 byNameResolver Lcom/fasterxml/jackson/databind/util/EnumResolver;
0 6 2 caseInsensitive Ljava/lang/Boolean;
MethodParameters:
Name Flags
byNameResolver
caseInsensitive
protected void <init>(com.fasterxml.jackson.databind.deser.std.EnumDeserializer, java.lang.Boolean);
descriptor: (Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;Ljava/lang/Boolean;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer.<init>:(Lcom/fasterxml/jackson/databind/deser/std/StdScalarDeserializer;)V
1: aload 0
aload 1
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._lookupByName:Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
putfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._lookupByName:Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
2: aload 0
aload 1
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumsByIndex:[Ljava/lang/Object;
putfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumsByIndex:[Ljava/lang/Object;
3: aload 0
aload 1
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumDefaultValue:Ljava/lang/Enum;
putfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumDefaultValue:Ljava/lang/Enum;
4: aload 0
aload 2
putfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._caseInsensitive:Ljava/lang/Boolean;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
0 6 1 base Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
0 6 2 caseInsensitive Ljava/lang/Boolean;
MethodParameters:
Name Flags
base
caseInsensitive
public void <init>(com.fasterxml.jackson.databind.util.EnumResolver);
descriptor: (Lcom/fasterxml/jackson/databind/util/EnumResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial com.fasterxml.jackson.databind.deser.std.EnumDeserializer.<init>:(Lcom/fasterxml/jackson/databind/util/EnumResolver;Ljava/lang/Boolean;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
0 2 1 byNameResolver Lcom/fasterxml/jackson/databind/util/EnumResolver;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
byNameResolver
public static com.fasterxml.jackson.databind.JsonDeserializer<?> deserializerForCreator(com.fasterxml.jackson.databind.DeserializationConfig, java.lang.Class<?>, com.fasterxml.jackson.databind.introspect.AnnotatedMethod);
descriptor: (Lcom/fasterxml/jackson/databind/DeserializationConfig;Ljava/lang/Class;Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;)Lcom/fasterxml/jackson/databind/JsonDeserializer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
aconst_null
invokestatic com.fasterxml.jackson.databind.deser.std.EnumDeserializer.deserializerForCreator:(Lcom/fasterxml/jackson/databind/DeserializationConfig;Ljava/lang/Class;Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;Lcom/fasterxml/jackson/databind/deser/ValueInstantiator;[Lcom/fasterxml/jackson/databind/deser/SettableBeanProperty;)Lcom/fasterxml/jackson/databind/JsonDeserializer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 config Lcom/fasterxml/jackson/databind/DeserializationConfig;
0 1 1 enumClass Ljava/lang/Class<*>;
0 1 2 factory Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;
Signature: (Lcom/fasterxml/jackson/databind/DeserializationConfig;Ljava/lang/Class<*>;Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;)Lcom/fasterxml/jackson/databind/JsonDeserializer<*>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
config
enumClass
factory
public static com.fasterxml.jackson.databind.JsonDeserializer<?> deserializerForCreator(com.fasterxml.jackson.databind.DeserializationConfig, java.lang.Class<?>, com.fasterxml.jackson.databind.introspect.AnnotatedMethod, com.fasterxml.jackson.databind.deser.ValueInstantiator, com.fasterxml.jackson.databind.deser.SettableBeanProperty[]);
descriptor: (Lcom/fasterxml/jackson/databind/DeserializationConfig;Ljava/lang/Class;Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;Lcom/fasterxml/jackson/databind/deser/ValueInstantiator;[Lcom/fasterxml/jackson/databind/deser/SettableBeanProperty;)Lcom/fasterxml/jackson/databind/JsonDeserializer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.fasterxml.jackson.databind.DeserializationConfig.canOverrideAccessModifiers:()Z
ifeq 4
1: aload 2
invokevirtual com.fasterxml.jackson.databind.introspect.AnnotatedMethod.getMember:()Ljava/lang/reflect/Method;
2: aload 0
getstatic com.fasterxml.jackson.databind.MapperFeature.OVERRIDE_PUBLIC_ACCESS_MODIFIERS:Lcom/fasterxml/jackson/databind/MapperFeature;
invokevirtual com.fasterxml.jackson.databind.DeserializationConfig.isEnabled:(Lcom/fasterxml/jackson/databind/MapperFeature;)Z
3: invokestatic com.fasterxml.jackson.databind.util.ClassUtil.checkAndFixAccess:(Ljava/lang/reflect/Member;Z)V
4: StackMap locals:
StackMap stack:
new com.fasterxml.jackson.databind.deser.std.FactoryBasedEnumDeserializer
dup
aload 1
aload 2
5: aload 2
iconst_0
invokevirtual com.fasterxml.jackson.databind.introspect.AnnotatedMethod.getParameterType:(I)Lcom/fasterxml/jackson/databind/JavaType;
6: aload 3
aload 4
7: invokespecial com.fasterxml.jackson.databind.deser.std.FactoryBasedEnumDeserializer.<init>:(Ljava/lang/Class;Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;Lcom/fasterxml/jackson/databind/JavaType;Lcom/fasterxml/jackson/databind/deser/ValueInstantiator;[Lcom/fasterxml/jackson/databind/deser/SettableBeanProperty;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 config Lcom/fasterxml/jackson/databind/DeserializationConfig;
0 8 1 enumClass Ljava/lang/Class<*>;
0 8 2 factory Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;
0 8 3 valueInstantiator Lcom/fasterxml/jackson/databind/deser/ValueInstantiator;
0 8 4 creatorProps [Lcom/fasterxml/jackson/databind/deser/SettableBeanProperty;
Signature: (Lcom/fasterxml/jackson/databind/DeserializationConfig;Ljava/lang/Class<*>;Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;Lcom/fasterxml/jackson/databind/deser/ValueInstantiator;[Lcom/fasterxml/jackson/databind/deser/SettableBeanProperty;)Lcom/fasterxml/jackson/databind/JsonDeserializer<*>;
MethodParameters:
Name Flags
config
enumClass
factory
valueInstantiator
creatorProps
public static com.fasterxml.jackson.databind.JsonDeserializer<?> deserializerForNoArgsCreator(com.fasterxml.jackson.databind.DeserializationConfig, java.lang.Class<?>, com.fasterxml.jackson.databind.introspect.AnnotatedMethod);
descriptor: (Lcom/fasterxml/jackson/databind/DeserializationConfig;Ljava/lang/Class;Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;)Lcom/fasterxml/jackson/databind/JsonDeserializer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.fasterxml.jackson.databind.DeserializationConfig.canOverrideAccessModifiers:()Z
ifeq 4
1: aload 2
invokevirtual com.fasterxml.jackson.databind.introspect.AnnotatedMethod.getMember:()Ljava/lang/reflect/Method;
2: aload 0
getstatic com.fasterxml.jackson.databind.MapperFeature.OVERRIDE_PUBLIC_ACCESS_MODIFIERS:Lcom/fasterxml/jackson/databind/MapperFeature;
invokevirtual com.fasterxml.jackson.databind.DeserializationConfig.isEnabled:(Lcom/fasterxml/jackson/databind/MapperFeature;)Z
3: invokestatic com.fasterxml.jackson.databind.util.ClassUtil.checkAndFixAccess:(Ljava/lang/reflect/Member;Z)V
4: StackMap locals:
StackMap stack:
new com.fasterxml.jackson.databind.deser.std.FactoryBasedEnumDeserializer
dup
aload 1
aload 2
invokespecial com.fasterxml.jackson.databind.deser.std.FactoryBasedEnumDeserializer.<init>:(Ljava/lang/Class;Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 config Lcom/fasterxml/jackson/databind/DeserializationConfig;
0 5 1 enumClass Ljava/lang/Class<*>;
0 5 2 factory Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;
Signature: (Lcom/fasterxml/jackson/databind/DeserializationConfig;Ljava/lang/Class<*>;Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;)Lcom/fasterxml/jackson/databind/JsonDeserializer<*>;
MethodParameters:
Name Flags
config
enumClass
factory
public com.fasterxml.jackson.databind.deser.std.EnumDeserializer withResolved(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._caseInsensitive:Ljava/lang/Boolean;
aload 1
if_acmpne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new com.fasterxml.jackson.databind.deser.std.EnumDeserializer
dup
aload 0
aload 1
invokespecial com.fasterxml.jackson.databind.deser.std.EnumDeserializer.<init>:(Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;Ljava/lang/Boolean;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
0 3 1 caseInsensitive Ljava/lang/Boolean;
MethodParameters:
Name Flags
caseInsensitive
public com.fasterxml.jackson.databind.JsonDeserializer<?> createContextual(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.BeanProperty);
descriptor: (Lcom/fasterxml/jackson/databind/DeserializationContext;Lcom/fasterxml/jackson/databind/BeanProperty;)Lcom/fasterxml/jackson/databind/JsonDeserializer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer.handledType:()Ljava/lang/Class;
1: getstatic com.fasterxml.jackson.annotation.JsonFormat$Feature.ACCEPT_CASE_INSENSITIVE_PROPERTIES:Lcom/fasterxml/jackson/annotation/JsonFormat$Feature;
2: invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer.findFormatFeature:(Lcom/fasterxml/jackson/databind/DeserializationContext;Lcom/fasterxml/jackson/databind/BeanProperty;Ljava/lang/Class;Lcom/fasterxml/jackson/annotation/JsonFormat$Feature;)Ljava/lang/Boolean;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._caseInsensitive:Ljava/lang/Boolean;
astore 3
5: StackMap locals: java.lang.Boolean
StackMap stack:
aload 0
aload 3
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer.withResolved:(Ljava/lang/Boolean;)Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
0 6 1 ctxt Lcom/fasterxml/jackson/databind/DeserializationContext;
0 6 2 property Lcom/fasterxml/jackson/databind/BeanProperty;
3 6 3 caseInsensitive Ljava/lang/Boolean;
Exceptions:
throws com.fasterxml.jackson.databind.JsonMappingException
Signature: (Lcom/fasterxml/jackson/databind/DeserializationContext;Lcom/fasterxml/jackson/databind/BeanProperty;)Lcom/fasterxml/jackson/databind/JsonDeserializer<*>;
MethodParameters:
Name Flags
ctxt
property
public boolean isCachable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
public java.lang.Object deserialize(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext);
descriptor: (Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializationContext;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.fasterxml.jackson.core.JsonParser.currentToken:()Lcom/fasterxml/jackson/core/JsonToken;
astore 3
start local 3 1: aload 3
getstatic com.fasterxml.jackson.core.JsonToken.VALUE_STRING:Lcom/fasterxml/jackson/core/JsonToken;
if_acmpeq 2
aload 3
getstatic com.fasterxml.jackson.core.JsonToken.FIELD_NAME:Lcom/fasterxml/jackson/core/JsonToken;
if_acmpne 11
2: StackMap locals: com.fasterxml.jackson.core.JsonToken
StackMap stack:
aload 2
getstatic com.fasterxml.jackson.databind.DeserializationFeature.READ_ENUMS_USING_TO_STRING:Lcom/fasterxml/jackson/databind/DeserializationFeature;
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.isEnabled:(Lcom/fasterxml/jackson/databind/DeserializationFeature;)Z
ifeq 4
3: aload 0
aload 2
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer._getToStringLookup:(Lcom/fasterxml/jackson/databind/DeserializationContext;)Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
goto 5
StackMap locals:
StackMap stack:
4: aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._lookupByName:Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
5: StackMap locals:
StackMap stack: com.fasterxml.jackson.databind.util.CompactStringObjectMap
astore 4
start local 4 6: aload 1
invokevirtual com.fasterxml.jackson.core.JsonParser.getText:()Ljava/lang/String;
astore 5
start local 5 7: aload 4
aload 5
invokevirtual com.fasterxml.jackson.databind.util.CompactStringObjectMap.find:(Ljava/lang/String;)Ljava/lang/Object;
astore 6
start local 6 8: aload 6
ifnonnull 10
9: aload 0
aload 1
aload 2
aload 4
aload 5
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer._deserializeAltString:(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializationContext;Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;Ljava/lang/String;)Ljava/lang/Object;
areturn
10: StackMap locals: com.fasterxml.jackson.databind.util.CompactStringObjectMap java.lang.String java.lang.Object
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 11: StackMap locals:
StackMap stack:
aload 3
getstatic com.fasterxml.jackson.core.JsonToken.VALUE_NUMBER_INT:Lcom/fasterxml/jackson/core/JsonToken;
if_acmpne 28
12: aload 1
invokevirtual com.fasterxml.jackson.core.JsonParser.getIntValue:()I
istore 4
start local 4 13: aload 2
getstatic com.fasterxml.jackson.databind.DeserializationFeature.FAIL_ON_NUMBERS_FOR_ENUMS:Lcom/fasterxml/jackson/databind/DeserializationFeature;
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.isEnabled:(Lcom/fasterxml/jackson/databind/DeserializationFeature;)Z
ifeq 17
14: aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumClass:()Ljava/lang/Class;
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
15: ldc "not allowed to deserialize Enum value out of number: disable DeserializationConfig.DeserializationFeature.FAIL_ON_NUMBERS_FOR_ENUMS to allow"
iconst_0
anewarray java.lang.Object
16: invokevirtual com.fasterxml.jackson.databind.DeserializationContext.handleWeirdNumberValue:(Ljava/lang/Class;Ljava/lang/Number;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
17: StackMap locals: int
StackMap stack:
iload 4
iflt 19
iload 4
aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumsByIndex:[Ljava/lang/Object;
arraylength
if_icmpge 19
18: aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumsByIndex:[Ljava/lang/Object;
iload 4
aaload
areturn
19: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumDefaultValue:Ljava/lang/Enum;
ifnull 22
20: aload 2
getstatic com.fasterxml.jackson.databind.DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE:Lcom/fasterxml/jackson/databind/DeserializationFeature;
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.isEnabled:(Lcom/fasterxml/jackson/databind/DeserializationFeature;)Z
ifeq 22
21: aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumDefaultValue:Ljava/lang/Enum;
areturn
22: StackMap locals:
StackMap stack:
aload 2
getstatic com.fasterxml.jackson.databind.DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_AS_NULL:Lcom/fasterxml/jackson/databind/DeserializationFeature;
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.isEnabled:(Lcom/fasterxml/jackson/databind/DeserializationFeature;)Z
ifne 27
23: aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumClass:()Ljava/lang/Class;
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
24: ldc "index value outside legal index range [0..%s]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
25: aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumsByIndex:[Ljava/lang/Object;
arraylength
iconst_1
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
26: invokevirtual com.fasterxml.jackson.databind.DeserializationContext.handleWeirdNumberValue:(Ljava/lang/Class;Ljava/lang/Number;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
27: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 28: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer._deserializeOther:(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializationContext;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
0 29 1 p Lcom/fasterxml/jackson/core/JsonParser;
0 29 2 ctxt Lcom/fasterxml/jackson/databind/DeserializationContext;
1 29 3 curr Lcom/fasterxml/jackson/core/JsonToken;
6 11 4 lookup Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
7 11 5 name Ljava/lang/String;
8 11 6 result Ljava/lang/Object;
13 28 4 index I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
p
ctxt
private final java.lang.Object _deserializeAltString(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.util.CompactStringObjectMap, java.lang.String);
descriptor: (Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializationContext;Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=8, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
1: aload 4
invokevirtual java.lang.String.length:()I
ifne 4
2: aload 2
getstatic com.fasterxml.jackson.databind.DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT:Lcom/fasterxml/jackson/databind/DeserializationFeature;
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.isEnabled:(Lcom/fasterxml/jackson/databind/DeserializationFeature;)Z
ifeq 21
3: aload 0
aload 2
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer.getEmptyValue:(Lcom/fasterxml/jackson/databind/DeserializationContext;)Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._caseInsensitive:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 8
5: aload 3
aload 4
invokevirtual com.fasterxml.jackson.databind.util.CompactStringObjectMap.findCaseInsensitive:(Ljava/lang/String;)Ljava/lang/Object;
astore 5
start local 5 6: aload 5
ifnull 21
7: aload 5
areturn
end local 5 8: StackMap locals:
StackMap stack:
aload 2
getstatic com.fasterxml.jackson.databind.DeserializationFeature.FAIL_ON_NUMBERS_FOR_ENUMS:Lcom/fasterxml/jackson/databind/DeserializationFeature;
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.isEnabled:(Lcom/fasterxml/jackson/databind/DeserializationFeature;)Z
ifne 21
9: aload 4
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 10: iload 5
bipush 48
if_icmplt 21
iload 5
bipush 57
if_icmpgt 21
11: aload 4
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 6
start local 6 12: aload 2
getstatic com.fasterxml.jackson.databind.MapperFeature.ALLOW_COERCION_OF_SCALARS:Lcom/fasterxml/jackson/databind/MapperFeature;
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.isEnabled:(Lcom/fasterxml/jackson/databind/MapperFeature;)Z
ifne 17
13: aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumClass:()Ljava/lang/Class;
aload 4
14: ldc "value looks like quoted Enum index, but `MapperFeature.ALLOW_COERCION_OF_SCALARS` prevents use"
iconst_0
anewarray java.lang.Object
15: invokevirtual com.fasterxml.jackson.databind.DeserializationContext.handleWeirdStringValue:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
16: areturn
17: StackMap locals: int int
StackMap stack:
iload 6
iflt 21
iload 6
aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumsByIndex:[Ljava/lang/Object;
arraylength
if_icmpge 21
18: aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumsByIndex:[Ljava/lang/Object;
iload 6
aaload
19: areturn
end local 6 20: StackMap locals: com.fasterxml.jackson.databind.deser.std.EnumDeserializer com.fasterxml.jackson.core.JsonParser com.fasterxml.jackson.databind.DeserializationContext com.fasterxml.jackson.databind.util.CompactStringObjectMap java.lang.String int
StackMap stack: java.lang.NumberFormatException
pop
end local 5 21: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumDefaultValue:Ljava/lang/Enum;
ifnull 24
22: aload 2
getstatic com.fasterxml.jackson.databind.DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE:Lcom/fasterxml/jackson/databind/DeserializationFeature;
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.isEnabled:(Lcom/fasterxml/jackson/databind/DeserializationFeature;)Z
ifeq 24
23: aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumDefaultValue:Ljava/lang/Enum;
areturn
24: StackMap locals:
StackMap stack:
aload 2
getstatic com.fasterxml.jackson.databind.DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_AS_NULL:Lcom/fasterxml/jackson/databind/DeserializationFeature;
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.isEnabled:(Lcom/fasterxml/jackson/databind/DeserializationFeature;)Z
ifne 28
25: aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumClass:()Ljava/lang/Class;
aload 4
26: ldc "not one of the values accepted for Enum class: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
invokevirtual com.fasterxml.jackson.databind.util.CompactStringObjectMap.keys:()Ljava/util/List;
aastore
27: invokevirtual com.fasterxml.jackson.databind.DeserializationContext.handleWeirdStringValue:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
28: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
0 29 1 p Lcom/fasterxml/jackson/core/JsonParser;
0 29 2 ctxt Lcom/fasterxml/jackson/databind/DeserializationContext;
0 29 3 lookup Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
0 29 4 name Ljava/lang/String;
6 8 5 match Ljava/lang/Object;
10 21 5 c C
12 20 6 index I
Exception table:
from to target type
11 16 20 Class java.lang.NumberFormatException
17 19 20 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
p
ctxt
lookup
name
protected java.lang.Object _deserializeOther(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext);
descriptor: (Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializationContext;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic com.fasterxml.jackson.core.JsonToken.START_ARRAY:Lcom/fasterxml/jackson/core/JsonToken;
invokevirtual com.fasterxml.jackson.core.JsonParser.hasToken:(Lcom/fasterxml/jackson/core/JsonToken;)Z
ifeq 2
1: aload 0
aload 1
aload 2
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer._deserializeFromArray:(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializationContext;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumClass:()Ljava/lang/Class;
aload 1
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken:(Ljava/lang/Class;Lcom/fasterxml/jackson/core/JsonParser;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
0 3 1 p Lcom/fasterxml/jackson/core/JsonParser;
0 3 2 ctxt Lcom/fasterxml/jackson/databind/DeserializationContext;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
p
ctxt
protected java.lang.Class<?> _enumClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer.handledType:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
Signature: ()Ljava/lang/Class<*>;
protected com.fasterxml.jackson.databind.util.CompactStringObjectMap _getToStringLookup(com.fasterxml.jackson.databind.DeserializationContext);
descriptor: (Lcom/fasterxml/jackson/databind/DeserializationContext;)Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._lookupByToString:Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
astore 2
start local 2 1: aload 2
ifnonnull 13
2: aload 0
dup
astore 3
monitorenter
3: aload 0
invokevirtual com.fasterxml.jackson.databind.deser.std.EnumDeserializer._enumClass:()Ljava/lang/Class;
4: aload 1
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.getAnnotationIntrospector:()Lcom/fasterxml/jackson/databind/AnnotationIntrospector;
5: invokestatic com.fasterxml.jackson.databind.util.EnumResolver.constructUnsafeUsingToString:(Ljava/lang/Class;Lcom/fasterxml/jackson/databind/AnnotationIntrospector;)Lcom/fasterxml/jackson/databind/util/EnumResolver;
6: invokevirtual com.fasterxml.jackson.databind.util.EnumResolver.constructLookup:()Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
7: astore 2
8: aload 3
monitorexit
9: goto 12
StackMap locals: com.fasterxml.jackson.databind.deser.std.EnumDeserializer com.fasterxml.jackson.databind.DeserializationContext com.fasterxml.jackson.databind.util.CompactStringObjectMap com.fasterxml.jackson.databind.deser.std.EnumDeserializer
StackMap stack: java.lang.Throwable
10: aload 3
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield com.fasterxml.jackson.databind.deser.std.EnumDeserializer._lookupByToString:Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
13: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/fasterxml/jackson/databind/deser/std/EnumDeserializer;
0 14 1 ctxt Lcom/fasterxml/jackson/databind/DeserializationContext;
1 14 2 lookup Lcom/fasterxml/jackson/databind/util/CompactStringObjectMap;
Exception table:
from to target type
3 9 10 any
10 11 10 any
MethodParameters:
Name Flags
ctxt
}
Signature: Lcom/fasterxml/jackson/databind/deser/std/StdScalarDeserializer<Ljava/lang/Object;>;Lcom/fasterxml/jackson/databind/deser/ContextualDeserializer;
SourceFile: "EnumDeserializer.java"
InnerClasses:
public final Feature = com.fasterxml.jackson.annotation.JsonFormat$Feature of com.fasterxml.jackson.annotation.JsonFormat
RuntimeVisibleAnnotations:
com.fasterxml.jackson.databind.annotation.JacksonStdImpl()