public final class com.fasterxml.jackson.databind.util.EnumValues implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.fasterxml.jackson.databind.util.EnumValues
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final java.lang.Class<java.lang.Enum<?>> _enumClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<Ljava/lang/Enum<*>;>;
private final java.lang.Enum<?>[] _values;
descriptor: [Ljava/lang/Enum;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: [Ljava/lang/Enum<*>;
private final com.fasterxml.jackson.core.SerializableString[] _textual;
descriptor: [Lcom/fasterxml/jackson/core/SerializableString;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private transient java.util.EnumMap<?, com.fasterxml.jackson.core.SerializableString> _asMap;
descriptor: Ljava/util/EnumMap;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/EnumMap<*Lcom/fasterxml/jackson/core/SerializableString;>;
private void <init>(java.lang.Class<java.lang.Enum<?>>, com.fasterxml.jackson.core.SerializableString[]);
descriptor: (Ljava/lang/Class;[Lcom/fasterxml/jackson/core/SerializableString;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.fasterxml.jackson.databind.util.EnumValues._enumClass:Ljava/lang/Class;
2: aload 0
aload 1
invokevirtual java.lang.Class.getEnumConstants:()[Ljava/lang/Object;
checkcast java.lang.Enum[]
putfield com.fasterxml.jackson.databind.util.EnumValues._values:[Ljava/lang/Enum;
3: aload 0
aload 2
putfield com.fasterxml.jackson.databind.util.EnumValues._textual:[Lcom/fasterxml/jackson/core/SerializableString;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/databind/util/EnumValues;
0 5 1 enumClass Ljava/lang/Class<Ljava/lang/Enum<*>;>;
0 5 2 textual [Lcom/fasterxml/jackson/core/SerializableString;
Signature: (Ljava/lang/Class<Ljava/lang/Enum<*>;>;[Lcom/fasterxml/jackson/core/SerializableString;)V
MethodParameters:
Name Flags
enumClass
textual
public static com.fasterxml.jackson.databind.util.EnumValues construct(com.fasterxml.jackson.databind.SerializationConfig, java.lang.Class<java.lang.Enum<?>>);
descriptor: (Lcom/fasterxml/jackson/databind/SerializationConfig;Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/util/EnumValues;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.fasterxml.jackson.databind.SerializationFeature.WRITE_ENUMS_USING_TO_STRING:Lcom/fasterxml/jackson/databind/SerializationFeature;
invokevirtual com.fasterxml.jackson.databind.SerializationConfig.isEnabled:(Lcom/fasterxml/jackson/databind/SerializationFeature;)Z
ifeq 2
1: aload 0
aload 1
invokestatic com.fasterxml.jackson.databind.util.EnumValues.constructFromToString:(Lcom/fasterxml/jackson/databind/cfg/MapperConfig;Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/util/EnumValues;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic com.fasterxml.jackson.databind.util.EnumValues.constructFromName:(Lcom/fasterxml/jackson/databind/cfg/MapperConfig;Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/util/EnumValues;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 config Lcom/fasterxml/jackson/databind/SerializationConfig;
0 3 1 enumClass Ljava/lang/Class<Ljava/lang/Enum<*>;>;
Signature: (Lcom/fasterxml/jackson/databind/SerializationConfig;Ljava/lang/Class<Ljava/lang/Enum<*>;>;)Lcom/fasterxml/jackson/databind/util/EnumValues;
MethodParameters:
Name Flags
config
enumClass
public static com.fasterxml.jackson.databind.util.EnumValues constructFromName(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, java.lang.Class<java.lang.Enum<?>>);
descriptor: (Lcom/fasterxml/jackson/databind/cfg/MapperConfig;Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/util/EnumValues;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.fasterxml.jackson.databind.util.ClassUtil.findEnumType:(Ljava/lang/Class;)Ljava/lang/Class;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Class.getEnumConstants:()[Ljava/lang/Object;
checkcast java.lang.Enum[]
astore 3
start local 3 2: aload 3
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cannot determine enum constants for Class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.Class java.lang.Enum[]
StackMap stack:
aload 0
invokevirtual com.fasterxml.jackson.databind.cfg.MapperConfig.getAnnotationIntrospector:()Lcom/fasterxml/jackson/databind/AnnotationIntrospector;
aload 2
aload 3
aload 3
arraylength
anewarray java.lang.String
invokevirtual com.fasterxml.jackson.databind.AnnotationIntrospector.findEnumValues:(Ljava/lang/Class;[Ljava/lang/Enum;[Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 5: aload 3
arraylength
anewarray com.fasterxml.jackson.core.SerializableString
astore 5
start local 5 6: iconst_0
istore 6
start local 6 7: aload 3
arraylength
istore 7
start local 7 8: goto 15
9: StackMap locals: com.fasterxml.jackson.databind.cfg.MapperConfig java.lang.Class java.lang.Class java.lang.Enum[] java.lang.String[] com.fasterxml.jackson.core.SerializableString[] int int
StackMap stack:
aload 3
iload 6
aaload
astore 8
start local 8 10: aload 4
iload 6
aaload
astore 9
start local 9 11: aload 9
ifnonnull 13
12: aload 8
invokevirtual java.lang.Enum.name:()Ljava/lang/String;
astore 9
13: StackMap locals: java.lang.Enum java.lang.String
StackMap stack:
aload 5
aload 8
invokevirtual java.lang.Enum.ordinal:()I
aload 0
aload 9
invokevirtual com.fasterxml.jackson.databind.cfg.MapperConfig.compileString:(Ljava/lang/String;)Lcom/fasterxml/jackson/core/SerializableString;
aastore
end local 9 end local 8 14: iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 7
if_icmplt 9
end local 7 end local 6 16: aload 1
aload 5
invokestatic com.fasterxml.jackson.databind.util.EnumValues.construct:(Ljava/lang/Class;[Lcom/fasterxml/jackson/core/SerializableString;)Lcom/fasterxml/jackson/databind/util/EnumValues;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 config Lcom/fasterxml/jackson/databind/cfg/MapperConfig<*>;
0 17 1 enumClass Ljava/lang/Class<Ljava/lang/Enum<*>;>;
1 17 2 enumCls Ljava/lang/Class<+Ljava/lang/Enum<*>;>;
2 17 3 enumValues [Ljava/lang/Enum;
5 17 4 names [Ljava/lang/String;
6 17 5 textual [Lcom/fasterxml/jackson/core/SerializableString;
7 16 6 i I
8 16 7 len I
10 14 8 en Ljava/lang/Enum<*>;
11 14 9 name Ljava/lang/String;
Signature: (Lcom/fasterxml/jackson/databind/cfg/MapperConfig<*>;Ljava/lang/Class<Ljava/lang/Enum<*>;>;)Lcom/fasterxml/jackson/databind/util/EnumValues;
MethodParameters:
Name Flags
config
enumClass
public static com.fasterxml.jackson.databind.util.EnumValues constructFromToString(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, java.lang.Class<java.lang.Enum<?>>);
descriptor: (Lcom/fasterxml/jackson/databind/cfg/MapperConfig;Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/util/EnumValues;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.fasterxml.jackson.databind.util.ClassUtil.findEnumType:(Ljava/lang/Class;)Ljava/lang/Class;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Class.getEnumConstants:()[Ljava/lang/Object;
checkcast java.lang.Enum[]
astore 3
start local 3 2: aload 3
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cannot determine enum constants for Class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.Class java.lang.Enum[]
StackMap stack:
new java.util.ArrayList
dup
aload 3
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 5: aload 3
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 9
StackMap locals: com.fasterxml.jackson.databind.cfg.MapperConfig java.lang.Class java.lang.Class java.lang.Enum[] java.util.ArrayList top int int java.lang.Enum[]
StackMap stack:
6: aload 8
iload 6
aaload
astore 5
start local 5 7: aload 4
aload 5
invokevirtual java.lang.Enum.toString:()Ljava/lang/String;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 5 8: iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
iload 7
if_icmplt 6
10: aload 0
aload 1
aload 4
invokestatic com.fasterxml.jackson.databind.util.EnumValues.construct:(Lcom/fasterxml/jackson/databind/cfg/MapperConfig;Ljava/lang/Class;Ljava/util/List;)Lcom/fasterxml/jackson/databind/util/EnumValues;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 config Lcom/fasterxml/jackson/databind/cfg/MapperConfig<*>;
0 11 1 enumClass Ljava/lang/Class<Ljava/lang/Enum<*>;>;
1 11 2 cls Ljava/lang/Class<+Ljava/lang/Enum<*>;>;
2 11 3 values [Ljava/lang/Enum;
5 11 4 external Ljava/util/ArrayList<Ljava/lang/String;>;
7 8 5 en Ljava/lang/Enum<*>;
Signature: (Lcom/fasterxml/jackson/databind/cfg/MapperConfig<*>;Ljava/lang/Class<Ljava/lang/Enum<*>;>;)Lcom/fasterxml/jackson/databind/util/EnumValues;
MethodParameters:
Name Flags
config
enumClass
public static com.fasterxml.jackson.databind.util.EnumValues construct(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, java.lang.Class<java.lang.Enum<?>>, java.util.List<java.lang.String>);
descriptor: (Lcom/fasterxml/jackson/databind/cfg/MapperConfig;Ljava/lang/Class;Ljava/util/List;)Lcom/fasterxml/jackson/databind/util/EnumValues;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.util.List.size:()I
istore 3
start local 3 1: iload 3
anewarray com.fasterxml.jackson.core.SerializableString
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 6
4: StackMap locals: int com.fasterxml.jackson.core.SerializableString[] int
StackMap stack:
aload 4
iload 5
aload 0
aload 2
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual com.fasterxml.jackson.databind.cfg.MapperConfig.compileString:(Ljava/lang/String;)Lcom/fasterxml/jackson/core/SerializableString;
aastore
5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 3
if_icmplt 4
end local 5 7: aload 1
aload 4
invokestatic com.fasterxml.jackson.databind.util.EnumValues.construct:(Ljava/lang/Class;[Lcom/fasterxml/jackson/core/SerializableString;)Lcom/fasterxml/jackson/databind/util/EnumValues;
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/cfg/MapperConfig<*>;
0 8 1 enumClass Ljava/lang/Class<Ljava/lang/Enum<*>;>;
0 8 2 externalValues Ljava/util/List<Ljava/lang/String;>;
1 8 3 len I
2 8 4 textual [Lcom/fasterxml/jackson/core/SerializableString;
3 7 5 i I
Signature: (Lcom/fasterxml/jackson/databind/cfg/MapperConfig<*>;Ljava/lang/Class<Ljava/lang/Enum<*>;>;Ljava/util/List<Ljava/lang/String;>;)Lcom/fasterxml/jackson/databind/util/EnumValues;
MethodParameters:
Name Flags
config
enumClass
externalValues
public static com.fasterxml.jackson.databind.util.EnumValues construct(java.lang.Class<java.lang.Enum<?>>, com.fasterxml.jackson.core.SerializableString[]);
descriptor: (Ljava/lang/Class;[Lcom/fasterxml/jackson/core/SerializableString;)Lcom/fasterxml/jackson/databind/util/EnumValues;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.fasterxml.jackson.databind.util.EnumValues
dup
aload 0
aload 1
invokespecial com.fasterxml.jackson.databind.util.EnumValues.<init>:(Ljava/lang/Class;[Lcom/fasterxml/jackson/core/SerializableString;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 enumClass Ljava/lang/Class<Ljava/lang/Enum<*>;>;
0 1 1 externalValues [Lcom/fasterxml/jackson/core/SerializableString;
Signature: (Ljava/lang/Class<Ljava/lang/Enum<*>;>;[Lcom/fasterxml/jackson/core/SerializableString;)Lcom/fasterxml/jackson/databind/util/EnumValues;
MethodParameters:
Name Flags
enumClass
externalValues
public com.fasterxml.jackson.core.SerializableString serializedValueFor(java.lang.Enum<?>);
descriptor: (Ljava/lang/Enum;)Lcom/fasterxml/jackson/core/SerializableString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.util.EnumValues._textual:[Lcom/fasterxml/jackson/core/SerializableString;
aload 1
invokevirtual java.lang.Enum.ordinal:()I
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/util/EnumValues;
0 1 1 key Ljava/lang/Enum<*>;
Signature: (Ljava/lang/Enum<*>;)Lcom/fasterxml/jackson/core/SerializableString;
MethodParameters:
Name Flags
key
public java.util.Collection<com.fasterxml.jackson.core.SerializableString> values();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.databind.util.EnumValues._textual:[Lcom/fasterxml/jackson/core/SerializableString;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/util/EnumValues;
Signature: ()Ljava/util/Collection<Lcom/fasterxml/jackson/core/SerializableString;>;
public java.util.List<java.lang.Enum<?>> enums();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.databind.util.EnumValues._values:[Ljava/lang/Enum;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/util/EnumValues;
Signature: ()Ljava/util/List<Ljava/lang/Enum<*>;>;
public java.util.EnumMap<?, com.fasterxml.jackson.core.SerializableString> internalMap();
descriptor: ()Ljava/util/EnumMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.databind.util.EnumValues._asMap:Ljava/util/EnumMap;
astore 1
start local 1 1: aload 1
ifnonnull 9
2: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 2
start local 2 3: aload 0
getfield com.fasterxml.jackson.databind.util.EnumValues._values:[Ljava/lang/Enum;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: com.fasterxml.jackson.databind.util.EnumValues java.util.EnumMap java.util.Map top int int java.lang.Enum[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 2
aload 3
aload 0
getfield com.fasterxml.jackson.databind.util.EnumValues._textual:[Lcom/fasterxml/jackson/core/SerializableString;
aload 3
invokevirtual java.lang.Enum.ordinal:()I
aaload
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 4
8: new java.util.EnumMap
dup
aload 2
invokespecial java.util.EnumMap.<init>:(Ljava/util/Map;)V
astore 1
end local 2 9: StackMap locals: com.fasterxml.jackson.databind.util.EnumValues java.util.EnumMap
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/fasterxml/jackson/databind/util/EnumValues;
1 10 1 result Ljava/util/EnumMap<*Lcom/fasterxml/jackson/core/SerializableString;>;
3 9 2 map Ljava/util/Map<Ljava/lang/Enum<*>;Lcom/fasterxml/jackson/core/SerializableString;>;
5 6 3 en Ljava/lang/Enum<*>;
Signature: ()Ljava/util/EnumMap<*Lcom/fasterxml/jackson/core/SerializableString;>;
public java.lang.Class<java.lang.Enum<?>> getEnumClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.databind.util.EnumValues._enumClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/util/EnumValues;
Signature: ()Ljava/lang/Class<Ljava/lang/Enum<*>;>;
}
SourceFile: "EnumValues.java"