public abstract class com.fasterxml.jackson.databind.ser.std.ArraySerializerBase<T> extends com.fasterxml.jackson.databind.ser.ContainerSerializer<T> implements com.fasterxml.jackson.databind.ser.ContextualSerializer
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.fasterxml.jackson.databind.ser.std.ArraySerializerBase
super_class: com.fasterxml.jackson.databind.ser.ContainerSerializer
{
protected final com.fasterxml.jackson.databind.BeanProperty _property;
descriptor: Lcom/fasterxml/jackson/databind/BeanProperty;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.Boolean _unwrapSingle;
descriptor: Ljava/lang/Boolean;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected void <init>(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.fasterxml.jackson.databind.ser.ContainerSerializer.<init>:(Ljava/lang/Class;)V
1: aload 0
aconst_null
putfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._property:Lcom/fasterxml/jackson/databind/BeanProperty;
2: aload 0
aconst_null
putfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._unwrapSingle:Ljava/lang/Boolean;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<TT;>;
0 4 1 cls Ljava/lang/Class<TT;>;
Signature: (Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
cls
protected void <init>(java.lang.Class<T>, com.fasterxml.jackson.databind.BeanProperty);
descriptor: (Ljava/lang/Class;Lcom/fasterxml/jackson/databind/BeanProperty;)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.ser.ContainerSerializer.<init>:(Ljava/lang/Class;)V
1: aload 0
aload 2
putfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._property:Lcom/fasterxml/jackson/databind/BeanProperty;
2: aload 0
aconst_null
putfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._unwrapSingle:Ljava/lang/Boolean;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<TT;>;
0 4 1 cls Ljava/lang/Class<TT;>;
0 4 2 property Lcom/fasterxml/jackson/databind/BeanProperty;
Signature: (Ljava/lang/Class<TT;>;Lcom/fasterxml/jackson/databind/BeanProperty;)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
cls
property
protected void <init>(com.fasterxml.jackson.databind.ser.std.ArraySerializerBase<?>);
descriptor: (Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._handledType:Ljava/lang/Class;
iconst_0
invokespecial com.fasterxml.jackson.databind.ser.ContainerSerializer.<init>:(Ljava/lang/Class;Z)V
1: aload 0
aload 1
getfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._property:Lcom/fasterxml/jackson/databind/BeanProperty;
putfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._property:Lcom/fasterxml/jackson/databind/BeanProperty;
2: aload 0
aload 1
getfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._unwrapSingle:Ljava/lang/Boolean;
putfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._unwrapSingle:Ljava/lang/Boolean;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<TT;>;
0 4 1 src Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<*>;
Signature: (Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<*>;)V
MethodParameters:
Name Flags
src
protected void <init>(com.fasterxml.jackson.databind.ser.std.ArraySerializerBase<?>, com.fasterxml.jackson.databind.BeanProperty, java.lang.Boolean);
descriptor: (Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase;Lcom/fasterxml/jackson/databind/BeanProperty;Ljava/lang/Boolean;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
getfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._handledType:Ljava/lang/Class;
iconst_0
invokespecial com.fasterxml.jackson.databind.ser.ContainerSerializer.<init>:(Ljava/lang/Class;Z)V
1: aload 0
aload 2
putfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._property:Lcom/fasterxml/jackson/databind/BeanProperty;
2: aload 0
aload 3
putfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._unwrapSingle:Ljava/lang/Boolean;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<TT;>;
0 4 1 src Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<*>;
0 4 2 property Lcom/fasterxml/jackson/databind/BeanProperty;
0 4 3 unwrapSingle Ljava/lang/Boolean;
Signature: (Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<*>;Lcom/fasterxml/jackson/databind/BeanProperty;Ljava/lang/Boolean;)V
MethodParameters:
Name Flags
src
property
unwrapSingle
protected void <init>(com.fasterxml.jackson.databind.ser.std.ArraySerializerBase<?>, com.fasterxml.jackson.databind.BeanProperty);
descriptor: (Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase;Lcom/fasterxml/jackson/databind/BeanProperty;)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
getfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._handledType:Ljava/lang/Class;
iconst_0
invokespecial com.fasterxml.jackson.databind.ser.ContainerSerializer.<init>:(Ljava/lang/Class;Z)V
1: aload 0
aload 2
putfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._property:Lcom/fasterxml/jackson/databind/BeanProperty;
2: aload 0
aload 1
getfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._unwrapSingle:Ljava/lang/Boolean;
putfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._unwrapSingle:Ljava/lang/Boolean;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<TT;>;
0 4 1 src Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<*>;
0 4 2 property Lcom/fasterxml/jackson/databind/BeanProperty;
Signature: (Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<*>;Lcom/fasterxml/jackson/databind/BeanProperty;)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
src
property
public abstract com.fasterxml.jackson.databind.JsonSerializer<?> _withResolved(com.fasterxml.jackson.databind.BeanProperty, java.lang.Boolean);
descriptor: (Lcom/fasterxml/jackson/databind/BeanProperty;Ljava/lang/Boolean;)Lcom/fasterxml/jackson/databind/JsonSerializer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lcom/fasterxml/jackson/databind/BeanProperty;Ljava/lang/Boolean;)Lcom/fasterxml/jackson/databind/JsonSerializer<*>;
MethodParameters:
Name Flags
prop
unwrapSingle
public com.fasterxml.jackson.databind.JsonSerializer<?> createContextual(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.BeanProperty);
descriptor: (Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/BeanProperty;)Lcom/fasterxml/jackson/databind/JsonSerializer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 2
ifnull 7
2: aload 0
aload 1
aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.ser.std.ArraySerializerBase.handledType:()Ljava/lang/Class;
invokevirtual com.fasterxml.jackson.databind.ser.std.ArraySerializerBase.findFormatOverrides:(Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/BeanProperty;Ljava/lang/Class;)Lcom/fasterxml/jackson/annotation/JsonFormat$Value;
astore 4
start local 4 3: aload 4
ifnull 7
4: aload 4
getstatic com.fasterxml.jackson.annotation.JsonFormat$Feature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED:Lcom/fasterxml/jackson/annotation/JsonFormat$Feature;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Value.getFeature:(Lcom/fasterxml/jackson/annotation/JsonFormat$Feature;)Ljava/lang/Boolean;
astore 3
5: aload 3
aload 0
getfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._unwrapSingle:Ljava/lang/Boolean;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 7
6: aload 0
aload 2
aload 3
invokevirtual com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._withResolved:(Lcom/fasterxml/jackson/databind/BeanProperty;Ljava/lang/Boolean;)Lcom/fasterxml/jackson/databind/JsonSerializer;
areturn
end local 4 7: StackMap locals: java.lang.Boolean
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<TT;>;
0 8 1 serializers Lcom/fasterxml/jackson/databind/SerializerProvider;
0 8 2 property Lcom/fasterxml/jackson/databind/BeanProperty;
1 8 3 unwrapSingle Ljava/lang/Boolean;
3 7 4 format Lcom/fasterxml/jackson/annotation/JsonFormat$Value;
Exceptions:
throws com.fasterxml.jackson.databind.JsonMappingException
Signature: (Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/BeanProperty;)Lcom/fasterxml/jackson/databind/JsonSerializer<*>;
MethodParameters:
Name Flags
serializers
property
public void serialize(T, 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=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
invokevirtual com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._shouldUnwrapSingle:(Lcom/fasterxml/jackson/databind/SerializerProvider;)Z
ifeq 4
1: aload 0
aload 1
invokevirtual com.fasterxml.jackson.databind.ser.std.ArraySerializerBase.hasSingleElement:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
aload 1
aload 2
aload 3
invokevirtual com.fasterxml.jackson.databind.ser.std.ArraySerializerBase.serializeContents:(Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
3: return
4: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeStartArray:(Ljava/lang/Object;)V
5: aload 0
aload 1
aload 2
aload 3
invokevirtual com.fasterxml.jackson.databind.ser.std.ArraySerializerBase.serializeContents:(Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
6: aload 2
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeEndArray:()V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<TT;>;
0 8 1 value TT;
0 8 2 gen Lcom/fasterxml/jackson/core/JsonGenerator;
0 8 3 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
Exceptions:
throws java.io.IOException
Signature: (TT;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
MethodParameters:
Name Flags
value
gen
provider
public final void serializeWithType(T, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer);
descriptor: (Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/jsontype/TypeSerializer;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
aload 2
1: aload 4
aload 1
getstatic com.fasterxml.jackson.core.JsonToken.START_ARRAY:Lcom/fasterxml/jackson/core/JsonToken;
invokevirtual com.fasterxml.jackson.databind.jsontype.TypeSerializer.typeId:(Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonToken;)Lcom/fasterxml/jackson/core/type/WritableTypeId;
2: invokevirtual com.fasterxml.jackson.databind.jsontype.TypeSerializer.writeTypePrefix:(Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/core/type/WritableTypeId;)Lcom/fasterxml/jackson/core/type/WritableTypeId;
astore 5
start local 5 3: aload 2
aload 1
invokevirtual com.fasterxml.jackson.core.JsonGenerator.setCurrentValue:(Ljava/lang/Object;)V
4: aload 0
aload 1
aload 2
aload 3
invokevirtual com.fasterxml.jackson.databind.ser.std.ArraySerializerBase.serializeContents:(Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
5: aload 4
aload 2
aload 5
invokevirtual com.fasterxml.jackson.databind.jsontype.TypeSerializer.writeTypeSuffix:(Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/core/type/WritableTypeId;)Lcom/fasterxml/jackson/core/type/WritableTypeId;
pop
6: return
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 7 0 this Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<TT;>;
0 7 1 value TT;
0 7 2 g Lcom/fasterxml/jackson/core/JsonGenerator;
0 7 3 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
0 7 4 typeSer Lcom/fasterxml/jackson/databind/jsontype/TypeSerializer;
3 7 5 typeIdDef Lcom/fasterxml/jackson/core/type/WritableTypeId;
Exceptions:
throws java.io.IOException
Signature: (TT;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/jsontype/TypeSerializer;)V
MethodParameters:
Name Flags
value
g
provider
typeSer
protected abstract void serializeContents(T, 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: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: (TT;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
MethodParameters:
Name Flags
value
jgen
provider
protected final boolean _shouldUnwrapSingle(com.fasterxml.jackson.databind.SerializerProvider);
descriptor: (Lcom/fasterxml/jackson/databind/SerializerProvider;)Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._unwrapSingle:Ljava/lang/Boolean;
ifnonnull 2
1: aload 1
getstatic com.fasterxml.jackson.databind.SerializationFeature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED:Lcom/fasterxml/jackson/databind/SerializationFeature;
invokevirtual com.fasterxml.jackson.databind.SerializerProvider.isEnabled:(Lcom/fasterxml/jackson/databind/SerializationFeature;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.databind.ser.std.ArraySerializerBase._unwrapSingle:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/databind/ser/std/ArraySerializerBase<TT;>;
0 3 1 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
MethodParameters:
Name Flags
provider
}
Signature: <T:Ljava/lang/Object;>Lcom/fasterxml/jackson/databind/ser/ContainerSerializer<TT;>;Lcom/fasterxml/jackson/databind/ser/ContextualSerializer;
SourceFile: "ArraySerializerBase.java"
InnerClasses:
public final Feature = com.fasterxml.jackson.annotation.JsonFormat$Feature of com.fasterxml.jackson.annotation.JsonFormat
public Value = com.fasterxml.jackson.annotation.JsonFormat$Value of com.fasterxml.jackson.annotation.JsonFormat