public class com.fasterxml.jackson.databind.ser.std.StdKeySerializers$EnumKeySerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.databind.ser.std.StdKeySerializers$EnumKeySerializer
super_class: com.fasterxml.jackson.databind.ser.std.StdSerializer
{
protected final com.fasterxml.jackson.databind.util.EnumValues _values;
descriptor: Lcom/fasterxml/jackson/databind/util/EnumValues;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected void <init>(java.lang.Class<?>, com.fasterxml.jackson.databind.util.EnumValues);
descriptor: (Ljava/lang/Class;Lcom/fasterxml/jackson/databind/util/EnumValues;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
invokespecial com.fasterxml.jackson.databind.ser.std.StdSerializer.<init>:(Ljava/lang/Class;Z)V
1: aload 0
aload 2
putfield com.fasterxml.jackson.databind.ser.std.StdKeySerializers$EnumKeySerializer._values:Lcom/fasterxml/jackson/databind/util/EnumValues;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/databind/ser/std/StdKeySerializers$EnumKeySerializer;
0 3 1 enumType Ljava/lang/Class<*>;
0 3 2 values Lcom/fasterxml/jackson/databind/util/EnumValues;
Signature: (Ljava/lang/Class<*>;Lcom/fasterxml/jackson/databind/util/EnumValues;)V
MethodParameters:
Name Flags
enumType
values
public static com.fasterxml.jackson.databind.ser.std.StdKeySerializers$EnumKeySerializer construct(java.lang.Class<?>, com.fasterxml.jackson.databind.util.EnumValues);
descriptor: (Ljava/lang/Class;Lcom/fasterxml/jackson/databind/util/EnumValues;)Lcom/fasterxml/jackson/databind/ser/std/StdKeySerializers$EnumKeySerializer;
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.ser.std.StdKeySerializers$EnumKeySerializer
dup
aload 0
aload 1
invokespecial com.fasterxml.jackson.databind.ser.std.StdKeySerializers$EnumKeySerializer.<init>:(Ljava/lang/Class;Lcom/fasterxml/jackson/databind/util/EnumValues;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 enumType Ljava/lang/Class<*>;
0 1 1 enumValues Lcom/fasterxml/jackson/databind/util/EnumValues;
Signature: (Ljava/lang/Class<*>;Lcom/fasterxml/jackson/databind/util/EnumValues;)Lcom/fasterxml/jackson/databind/ser/std/StdKeySerializers$EnumKeySerializer;
MethodParameters:
Name Flags
enumType
enumValues
public void serialize(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider);
descriptor: (Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
getstatic com.fasterxml.jackson.databind.SerializationFeature.WRITE_ENUMS_USING_TO_STRING:Lcom/fasterxml/jackson/databind/SerializationFeature;
invokevirtual com.fasterxml.jackson.databind.SerializerProvider.isEnabled:(Lcom/fasterxml/jackson/databind/SerializationFeature;)Z
ifeq 3
1: aload 2
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeFieldName:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.Enum
astore 4
start local 4 4: aload 3
getstatic com.fasterxml.jackson.databind.SerializationFeature.WRITE_ENUM_KEYS_USING_INDEX:Lcom/fasterxml/jackson/databind/SerializationFeature;
invokevirtual com.fasterxml.jackson.databind.SerializerProvider.isEnabled:(Lcom/fasterxml/jackson/databind/SerializationFeature;)Z
ifeq 7
5: aload 2
aload 4
invokevirtual java.lang.Enum.ordinal:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeFieldName:(Ljava/lang/String;)V
6: return
7: StackMap locals: java.lang.Enum
StackMap stack:
aload 2
aload 0
getfield com.fasterxml.jackson.databind.ser.std.StdKeySerializers$EnumKeySerializer._values:Lcom/fasterxml/jackson/databind/util/EnumValues;
aload 4
invokevirtual com.fasterxml.jackson.databind.util.EnumValues.serializedValueFor:(Ljava/lang/Enum;)Lcom/fasterxml/jackson/core/SerializableString;
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeFieldName:(Lcom/fasterxml/jackson/core/SerializableString;)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/fasterxml/jackson/databind/ser/std/StdKeySerializers$EnumKeySerializer;
0 9 1 value Ljava/lang/Object;
0 9 2 g Lcom/fasterxml/jackson/core/JsonGenerator;
0 9 3 serializers Lcom/fasterxml/jackson/databind/SerializerProvider;
4 9 4 en Ljava/lang/Enum<*>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
g
serializers
}
Signature: Lcom/fasterxml/jackson/databind/ser/std/StdSerializer<Ljava/lang/Object;>;
SourceFile: "StdKeySerializers.java"
NestHost: com.fasterxml.jackson.databind.ser.std.StdKeySerializers
InnerClasses:
public EnumKeySerializer = com.fasterxml.jackson.databind.ser.std.StdKeySerializers$EnumKeySerializer of com.fasterxml.jackson.databind.ser.std.StdKeySerializers