public abstract class com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base<T> extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<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.NumberSerializers$Base
super_class: com.fasterxml.jackson.databind.ser.std.StdScalarSerializer
{
protected final com.fasterxml.jackson.core.JsonParser$NumberType _numberType;
descriptor: Lcom/fasterxml/jackson/core/JsonParser$NumberType;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.String _schemaType;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean _isInt;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$com$fasterxml$jackson$annotation$JsonFormat$Shape;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
protected void <init>(java.lang.Class<?>, com.fasterxml.jackson.core.JsonParser$NumberType, java.lang.String);
descriptor: (Ljava/lang/Class;Lcom/fasterxml/jackson/core/JsonParser$NumberType;Ljava/lang/String;)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
iconst_0
invokespecial com.fasterxml.jackson.databind.ser.std.StdScalarSerializer.<init>:(Ljava/lang/Class;Z)V
1: aload 0
aload 2
putfield com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base._numberType:Lcom/fasterxml/jackson/core/JsonParser$NumberType;
2: aload 0
aload 3
putfield com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base._schemaType:Ljava/lang/String;
3: aload 0
aload 2
getstatic com.fasterxml.jackson.core.JsonParser$NumberType.INT:Lcom/fasterxml/jackson/core/JsonParser$NumberType;
if_acmpeq 6
4: aload 2
getstatic com.fasterxml.jackson.core.JsonParser$NumberType.LONG:Lcom/fasterxml/jackson/core/JsonParser$NumberType;
if_acmpeq 6
5: aload 2
getstatic com.fasterxml.jackson.core.JsonParser$NumberType.BIG_INTEGER:Lcom/fasterxml/jackson/core/JsonParser$NumberType;
if_acmpeq 6
iconst_0
goto 7
StackMap locals: com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base java.lang.Class com.fasterxml.jackson.core.JsonParser$NumberType java.lang.String
StackMap stack: com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base
6: iconst_1
7: StackMap locals: com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base java.lang.Class com.fasterxml.jackson.core.JsonParser$NumberType java.lang.String
StackMap stack: com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base int
putfield com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base._isInt:Z
8: return
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/NumberSerializers$Base<TT;>;
0 9 1 cls Ljava/lang/Class<*>;
0 9 2 numberType Lcom/fasterxml/jackson/core/JsonParser$NumberType;
0 9 3 schemaType Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Lcom/fasterxml/jackson/core/JsonParser$NumberType;Ljava/lang/String;)V
MethodParameters:
Name Flags
cls
numberType
schemaType
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
aload 0
getfield com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base._schemaType:Ljava/lang/String;
iconst_1
invokevirtual com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base.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 1 0 this Lcom/fasterxml/jackson/databind/ser/std/NumberSerializers$Base<TT;>;
0 1 1 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
0 1 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=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base._isInt:Z
ifeq 3
1: aload 0
aload 1
aload 2
aload 0
getfield com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base._numberType:Lcom/fasterxml/jackson/core/JsonParser$NumberType;
invokevirtual com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base.visitIntFormat:(Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper;Lcom/fasterxml/jackson/databind/JavaType;Lcom/fasterxml/jackson/core/JsonParser$NumberType;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 0
getfield com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base._numberType:Lcom/fasterxml/jackson/core/JsonParser$NumberType;
invokevirtual com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base.visitFloatFormat:(Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper;Lcom/fasterxml/jackson/databind/JavaType;Lcom/fasterxml/jackson/core/JsonParser$NumberType;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/databind/ser/std/NumberSerializers$Base<TT;>;
0 5 1 visitor Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper;
0 5 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=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base.handledType:()Ljava/lang/Class;
invokevirtual com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base.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 1: aload 3
ifnull 6
2: invokestatic com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base.$SWITCH_TABLE$com$fasterxml$jackson$annotation$JsonFormat$Shape:()[I
aload 3
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Value.getShape:()Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
iaload
tableswitch { // 9 - 9
9: 3
default: 6
}
3: StackMap locals: com.fasterxml.jackson.annotation.JsonFormat$Value
StackMap stack:
aload 0
invokevirtual com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base.handledType:()Ljava/lang/Class;
ldc Ljava/math/BigDecimal;
if_acmpne 5
4: invokestatic com.fasterxml.jackson.databind.ser.std.NumberSerializer.bigDecimalAsStringSerializer:()Lcom/fasterxml/jackson/databind/JsonSerializer;
areturn
5: StackMap locals:
StackMap stack:
getstatic com.fasterxml.jackson.databind.ser.std.ToStringSerializer.instance:Lcom/fasterxml/jackson/databind/ser/std/ToStringSerializer;
areturn
6: 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 7 0 this Lcom/fasterxml/jackson/databind/ser/std/NumberSerializers$Base<TT;>;
0 7 1 prov Lcom/fasterxml/jackson/databind/SerializerProvider;
0 7 2 property Lcom/fasterxml/jackson/databind/BeanProperty;
1 7 3 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
prov
property
static int[] $SWITCH_TABLE$com$fasterxml$jackson$annotation$JsonFormat$Shape();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base.$SWITCH_TABLE$com$fasterxml$jackson$annotation$JsonFormat$Shape:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.fasterxml.jackson.annotation.JsonFormat$Shape.values:()[Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.ANY:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.ARRAY:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.BINARY:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
bipush 11
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.BOOLEAN:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
bipush 10
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.NATURAL:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.NUMBER:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
bipush 6
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.NUMBER_FLOAT:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
bipush 7
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.NUMBER_INT:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
bipush 8
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.OBJECT:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
iconst_5
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.SCALAR:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
iconst_3
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.STRING:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.ordinal:()I
bipush 9
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
dup
putstatic com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base.$SWITCH_TABLE$com$fasterxml$jackson$annotation$JsonFormat$Shape:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
}
Signature: <T:Ljava/lang/Object;>Lcom/fasterxml/jackson/databind/ser/std/StdScalarSerializer<TT;>;Lcom/fasterxml/jackson/databind/ser/ContextualSerializer;
SourceFile: "NumberSerializers.java"
NestHost: com.fasterxml.jackson.databind.ser.std.NumberSerializers
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
public abstract Base = com.fasterxml.jackson.databind.ser.std.NumberSerializers$Base of com.fasterxml.jackson.databind.ser.std.NumberSerializers