public final class com.fasterxml.jackson.databind.ser.std.BooleanSerializer 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: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.fasterxml.jackson.databind.ser.std.BooleanSerializer
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._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;
0 5 1 forPrimitive Z
MethodParameters:
Name Flags
forPrimitive
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
aload 2
1: aload 0
invokevirtual com.fasterxml.jackson.databind.ser.std.BooleanSerializer.handledType:()Ljava/lang/Class;
2: invokevirtual com.fasterxml.jackson.databind.ser.std.BooleanSerializer.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 9
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
ifeq 7
6: new com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber
dup
aload 0
getfield com.fasterxml.jackson.databind.ser.std.BooleanSerializer._forPrimitive:Z
invokespecial com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber.<init>:(Z)V
areturn
7: StackMap locals: com.fasterxml.jackson.annotation.JsonFormat$Value com.fasterxml.jackson.annotation.JsonFormat$Shape
StackMap stack:
aload 4
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.STRING:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
if_acmpne 9
8: new com.fasterxml.jackson.databind.ser.std.ToStringSerializer
dup
aload 0
getfield com.fasterxml.jackson.databind.ser.std.BooleanSerializer._handledType:Ljava/lang/Class;
invokespecial com.fasterxml.jackson.databind.ser.std.ToStringSerializer.<init>:(Ljava/lang/Class;)V
areturn
end local 4 9: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/fasterxml/jackson/databind/ser/std/BooleanSerializer;
0 10 1 serializers Lcom/fasterxml/jackson/databind/SerializerProvider;
0 10 2 property Lcom/fasterxml/jackson/databind/BeanProperty;
3 10 3 format Lcom/fasterxml/jackson/annotation/JsonFormat$Value;
5 9 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
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.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 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;
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;
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;
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 com.fasterxml.jackson.databind.JsonNode getSchema(com.fasterxml.jackson.databind.SerializerProvider, java.lang.reflect.Type);
descriptor: (Lcom/fasterxml/jackson/databind/SerializerProvider;Ljava/lang/reflect/Type;)Lcom/fasterxml/jackson/databind/JsonNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "boolean"
aload 0
getfield com.fasterxml.jackson.databind.ser.std.BooleanSerializer._forPrimitive:Z
ifeq 1
iconst_0
goto 2
StackMap locals: com.fasterxml.jackson.databind.ser.std.BooleanSerializer com.fasterxml.jackson.databind.SerializerProvider java.lang.reflect.Type
StackMap stack: com.fasterxml.jackson.databind.ser.std.BooleanSerializer java.lang.String
1: iconst_1
StackMap locals: com.fasterxml.jackson.databind.ser.std.BooleanSerializer com.fasterxml.jackson.databind.SerializerProvider java.lang.reflect.Type
StackMap stack: com.fasterxml.jackson.databind.ser.std.BooleanSerializer java.lang.String int
2: invokevirtual com.fasterxml.jackson.databind.ser.std.BooleanSerializer.createSchemaNode:(Ljava/lang/String;Z)Lcom/fasterxml/jackson/databind/node/ObjectNode;
areturn
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/BooleanSerializer;
0 3 1 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
0 3 2 typeHint Ljava/lang/reflect/Type;
MethodParameters:
Name Flags
provider
typeHint
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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokeinterface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.expectBooleanFormat:(Lcom/fasterxml/jackson/databind/JavaType;)Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonBooleanFormatVisitor;
pop
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;
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
}
Signature: Lcom/fasterxml/jackson/databind/ser/std/StdScalarSerializer<Ljava/lang/Object;>;Lcom/fasterxml/jackson/databind/ser/ContextualSerializer;
SourceFile: "BooleanSerializer.java"
NestMembers:
com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber
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
final AsNumber = com.fasterxml.jackson.databind.ser.std.BooleanSerializer$AsNumber of com.fasterxml.jackson.databind.ser.std.BooleanSerializer
RuntimeVisibleAnnotations:
com.fasterxml.jackson.databind.annotation.JacksonStdImpl()