final class com.fasterxml.jackson.databind.ser.std.NumberSerializer$BigDecimalAsStringSerializer extends com.fasterxml.jackson.databind.ser.std.ToStringSerializerBase
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.fasterxml.jackson.databind.ser.std.NumberSerializer$BigDecimalAsStringSerializer
super_class: com.fasterxml.jackson.databind.ser.std.ToStringSerializerBase
{
static final com.fasterxml.jackson.databind.ser.std.NumberSerializer$BigDecimalAsStringSerializer BD_INSTANCE;
descriptor: Lcom/fasterxml/jackson/databind/ser/std/NumberSerializer$BigDecimalAsStringSerializer;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.fasterxml.jackson.databind.ser.std.NumberSerializer$BigDecimalAsStringSerializer
dup
invokespecial com.fasterxml.jackson.databind.ser.std.NumberSerializer$BigDecimalAsStringSerializer.<init>:()V
putstatic com.fasterxml.jackson.databind.ser.std.NumberSerializer$BigDecimalAsStringSerializer.BD_INSTANCE:Lcom/fasterxml/jackson/databind/ser/std/NumberSerializer$BigDecimalAsStringSerializer;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/math/BigDecimal;
invokespecial com.fasterxml.jackson.databind.ser.std.ToStringSerializerBase.<init>:(Ljava/lang/Class;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/fasterxml/jackson/databind/ser/std/NumberSerializer$BigDecimalAsStringSerializer;
public boolean isEmpty(com.fasterxml.jackson.databind.SerializerProvider, java.lang.Object);
descriptor: (Lcom/fasterxml/jackson/databind/SerializerProvider;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
ireturn
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/NumberSerializer$BigDecimalAsStringSerializer;
0 1 1 prov Lcom/fasterxml/jackson/databind/SerializerProvider;
0 1 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
prov
value
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=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
getstatic com.fasterxml.jackson.core.JsonGenerator$Feature.WRITE_BIGDECIMAL_AS_PLAIN:Lcom/fasterxml/jackson/core/JsonGenerator$Feature;
invokevirtual com.fasterxml.jackson.core.JsonGenerator.isEnabled:(Lcom/fasterxml/jackson/core/JsonGenerator$Feature;)Z
ifeq 9
1: aload 1
checkcast java.math.BigDecimal
astore 5
start local 5 2: aload 0
aload 2
aload 5
invokevirtual com.fasterxml.jackson.databind.ser.std.NumberSerializer$BigDecimalAsStringSerializer._verifyBigDecimalRange:(Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/math/BigDecimal;)Z
ifne 7
3: ldc "Attempt to write plain `java.math.BigDecimal` (see JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN) with illegal scale (%d): needs to be between [-%d, %d]"
iconst_3
anewarray java.lang.Object
dup
iconst_0
4: aload 5
invokevirtual java.math.BigDecimal.scale:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
sipush 9999
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
sipush 9999
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 6
start local 6 6: aload 3
aload 6
iconst_0
anewarray java.lang.Object
invokevirtual com.fasterxml.jackson.databind.SerializerProvider.reportMappingProblem:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 6 7: StackMap locals: com.fasterxml.jackson.databind.ser.std.NumberSerializer$BigDecimalAsStringSerializer java.lang.Object com.fasterxml.jackson.core.JsonGenerator com.fasterxml.jackson.databind.SerializerProvider top java.math.BigDecimal
StackMap stack:
aload 5
invokevirtual java.math.BigDecimal.toPlainString:()Ljava/lang/String;
astore 4
end local 5 start local 4 8: goto 10
end local 4 9: StackMap locals: com.fasterxml.jackson.databind.ser.std.NumberSerializer$BigDecimalAsStringSerializer java.lang.Object com.fasterxml.jackson.core.JsonGenerator com.fasterxml.jackson.databind.SerializerProvider
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 4
start local 4 10: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 4
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeString:(Ljava/lang/String;)V
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/fasterxml/jackson/databind/ser/std/NumberSerializer$BigDecimalAsStringSerializer;
0 12 1 value Ljava/lang/Object;
0 12 2 gen Lcom/fasterxml/jackson/core/JsonGenerator;
0 12 3 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
8 9 4 text Ljava/lang/String;
10 12 4 text Ljava/lang/String;
2 8 5 bd Ljava/math/BigDecimal;
6 7 6 errorMsg Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
gen
provider
public java.lang.String valueToString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/ser/std/NumberSerializer$BigDecimalAsStringSerializer;
0 1 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
protected boolean _verifyBigDecimalRange(com.fasterxml.jackson.core.JsonGenerator, java.math.BigDecimal);
descriptor: (Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/math/BigDecimal;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.math.BigDecimal.scale:()I
istore 3
start local 3 1: iload 3
sipush -9999
if_icmplt 2
iload 3
sipush 9999
if_icmpgt 2
iconst_1
ireturn
StackMap locals: int
StackMap stack:
2: iconst_0
ireturn
end local 3 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/NumberSerializer$BigDecimalAsStringSerializer;
0 3 1 gen Lcom/fasterxml/jackson/core/JsonGenerator;
0 3 2 value Ljava/math/BigDecimal;
1 3 3 scale I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
gen
value
}
SourceFile: "NumberSerializer.java"
NestHost: com.fasterxml.jackson.databind.ser.std.NumberSerializer
InnerClasses:
public final Feature = com.fasterxml.jackson.core.JsonGenerator$Feature of com.fasterxml.jackson.core.JsonGenerator
final BigDecimalAsStringSerializer = com.fasterxml.jackson.databind.ser.std.NumberSerializer$BigDecimalAsStringSerializer of com.fasterxml.jackson.databind.ser.std.NumberSerializer