final class com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<java.lang.Object> implements com.fasterxml.jackson.databind.ser.ContextualSerializer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber
super_class: com.fasterxml.jackson.databind.ser.std.StdScalarSerializer
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected final boolean _forPrimitive;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ifeq 1
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
goto 2
StackMap locals:
StackMap stack: uninitialized-this
1: ldc Ljava/lang/Boolean;
StackMap locals: uninitialized-this int
StackMap stack: uninitialized-this java.lang.Class
2: iconst_0
invokespecial com.fasterxml.jackson.databind.ser.std.StdScalarSerializer.<init>:(Ljava/lang/Class;Z)V
3: aload 0
iload 1
putfield com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber._forPrimitive:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/databind/ser/std/BooleanSerializer$AsNumber;
0 5 1 forPrimitive Z
MethodParameters:
Name Flags
forPrimitive
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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
aload 1
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: com.fasterxml.jackson.core.JsonGenerator
1: iconst_1
StackMap locals: com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber java.lang.Object com.fasterxml.jackson.core.JsonGenerator com.fasterxml.jackson.databind.SerializerProvider
StackMap stack: com.fasterxml.jackson.core.JsonGenerator int
2: invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeNumber:(I)V
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/BooleanSerializer$AsNumber;
0 4 1 value Ljava/lang/Object;
0 4 2 g Lcom/fasterxml/jackson/core/JsonGenerator;
0 4 3 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
g
provider
public final void serializeWithType(java.lang.Object, 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=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 1
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeBoolean:(Z)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/fasterxml/jackson/databind/ser/std/BooleanSerializer$AsNumber;
0 2 1 value Ljava/lang/Object;
0 2 2 g Lcom/fasterxml/jackson/core/JsonGenerator;
0 2 3 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
0 2 4 typeSer Lcom/fasterxml/jackson/databind/jsontype/TypeSerializer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
g
provider
typeSer
public void acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper, com.fasterxml.jackson.databind.JavaType);
descriptor: (Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper;Lcom/fasterxml/jackson/databind/JavaType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic com.fasterxml.jackson.core.JsonParser$NumberType.INT:Lcom/fasterxml/jackson/core/JsonParser$NumberType;
invokevirtual com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber.visitIntFormat:(Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper;Lcom/fasterxml/jackson/databind/JavaType;Lcom/fasterxml/jackson/core/JsonParser$NumberType;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/fasterxml/jackson/databind/ser/std/BooleanSerializer$AsNumber;
0 2 1 visitor Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper;
0 2 2 typeHint Lcom/fasterxml/jackson/databind/JavaType;
Exceptions:
throws com.fasterxml.jackson.databind.JsonMappingException
MethodParameters:
Name Flags
visitor
typeHint
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: aload 0
aload 1
1: aload 2
ldc Ljava/lang/Boolean;
2: invokevirtual com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber.findFormatOverrides:(Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/BeanProperty;Ljava/lang/Class;)Lcom/fasterxml/jackson/annotation/JsonFormat$Value;
astore 3
start local 3 3: aload 3
ifnull 7
4: aload 3
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Value.getShape:()Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
astore 4
start local 4 5: aload 4
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.isNumeric:()Z
ifne 7
6: new com.fasterxml.jackson.databind.ser.std.BooleanSerializer
dup
aload 0
getfield com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber._forPrimitive:Z
invokespecial com.fasterxml.jackson.databind.ser.std.BooleanSerializer.<init>:(Z)V
areturn
end local 4 7: StackMap locals: com.fasterxml.jackson.annotation.JsonFormat$Value
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/BooleanSerializer$AsNumber;
0 8 1 serializers Lcom/fasterxml/jackson/databind/SerializerProvider;
0 8 2 property Lcom/fasterxml/jackson/databind/BeanProperty;
3 8 3 format Lcom/fasterxml/jackson/annotation/JsonFormat$Value;
5 7 4 shape Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
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
}
Signature: Lcom/fasterxml/jackson/databind/ser/std/StdScalarSerializer<Ljava/lang/Object;>;Lcom/fasterxml/jackson/databind/ser/ContextualSerializer;
SourceFile: "BooleanSerializer.java"
NestHost: com.fasterxml.jackson.databind.ser.std.BooleanSerializer
InnerClasses:
public final Shape = com.fasterxml.jackson.annotation.JsonFormat$Shape of com.fasterxml.jackson.annotation.JsonFormat
public Value = com.fasterxml.jackson.annotation.JsonFormat$Value of com.fasterxml.jackson.annotation.JsonFormat
public final NumberType = com.fasterxml.jackson.core.JsonParser$NumberType of com.fasterxml.jackson.core.JsonParser
final AsNumber = com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber of com.fasterxml.jackson.databind.ser.std.BooleanSerializer