public class com.fasterxml.jackson.databind.ser.std.UUIDSerializer extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<java.util.UUID> implements com.fasterxml.jackson.databind.ser.ContextualSerializer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.databind.ser.std.UUIDSerializer
super_class: com.fasterxml.jackson.databind.ser.std.StdScalarSerializer
{
static final char[] HEX_CHARS;
descriptor: [C
flags: (0x0018) ACC_STATIC, ACC_FINAL
protected final java.lang.Boolean _asBinary;
descriptor: Ljava/lang/Boolean;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "0123456789abcdef"
invokevirtual java.lang.String.toCharArray:()[C
putstatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer.HEX_CHARS:[C
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
aconst_null
invokespecial com.fasterxml.jackson.databind.ser.std.UUIDSerializer.<init>:(Ljava/lang/Boolean;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/ser/std/UUIDSerializer;
protected void <init>(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljava/util/UUID;
invokespecial com.fasterxml.jackson.databind.ser.std.StdScalarSerializer.<init>:(Ljava/lang/Class;)V
1: aload 0
aload 1
putfield com.fasterxml.jackson.databind.ser.std.UUIDSerializer._asBinary:Ljava/lang/Boolean;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/databind/ser/std/UUIDSerializer;
0 3 1 asBinary Ljava/lang/Boolean;
MethodParameters:
Name Flags
asBinary
public boolean isEmpty(com.fasterxml.jackson.databind.SerializerProvider, java.util.UUID);
descriptor: (Lcom/fasterxml/jackson/databind/SerializerProvider;Ljava/util/UUID;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.util.UUID.getLeastSignificantBits:()J
lconst_0
lcmp
ifne 3
1: aload 2
invokevirtual java.util.UUID.getMostSignificantBits:()J
lconst_0
lcmp
ifne 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
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/UUIDSerializer;
0 4 1 prov Lcom/fasterxml/jackson/databind/SerializerProvider;
0 4 2 value Ljava/util/UUID;
MethodParameters:
Name Flags
prov
value
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=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
1: aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.ser.std.UUIDSerializer.handledType:()Ljava/lang/Class;
2: invokevirtual com.fasterxml.jackson.databind.ser.std.UUIDSerializer.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: aconst_null
astore 4
start local 4 4: aload 3
ifnull 11
5: aload 3
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Value.getShape:()Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
astore 5
start local 5 6: aload 5
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.BINARY:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
if_acmpne 9
7: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 4
8: goto 11
StackMap locals: com.fasterxml.jackson.annotation.JsonFormat$Value java.lang.Boolean com.fasterxml.jackson.annotation.JsonFormat$Shape
StackMap stack:
9: aload 5
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.STRING:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
if_acmpne 11
10: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 4
end local 5 11: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield com.fasterxml.jackson.databind.ser.std.UUIDSerializer._asBinary:Ljava/lang/Boolean;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 13
12: new com.fasterxml.jackson.databind.ser.std.UUIDSerializer
dup
aload 4
invokespecial com.fasterxml.jackson.databind.ser.std.UUIDSerializer.<init>:(Ljava/lang/Boolean;)V
areturn
13: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/fasterxml/jackson/databind/ser/std/UUIDSerializer;
0 14 1 serializers Lcom/fasterxml/jackson/databind/SerializerProvider;
0 14 2 property Lcom/fasterxml/jackson/databind/BeanProperty;
3 14 3 format Lcom/fasterxml/jackson/annotation/JsonFormat$Value;
4 14 4 asBinary Ljava/lang/Boolean;
6 11 5 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.util.UUID, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider);
descriptor: (Ljava/util/UUID;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokevirtual com.fasterxml.jackson.databind.ser.std.UUIDSerializer._writeAsBinary:(Lcom/fasterxml/jackson/core/JsonGenerator;)Z
ifeq 3
1: aload 2
aload 1
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._asBytes:(Ljava/util/UUID;)[B
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeBinary:([B)V
2: return
3: StackMap locals:
StackMap stack:
bipush 36
newarray 5
astore 4
start local 4 4: aload 1
invokevirtual java.util.UUID.getMostSignificantBits:()J
lstore 5
start local 5 5: lload 5
bipush 32
lshr
l2i
aload 4
iconst_0
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendInt:(I[CI)V
6: aload 4
bipush 8
bipush 45
castore
7: lload 5
l2i
istore 7
start local 7 8: iload 7
bipush 16
iushr
aload 4
bipush 9
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendShort:(I[CI)V
9: aload 4
bipush 13
bipush 45
castore
10: iload 7
aload 4
bipush 14
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendShort:(I[CI)V
11: aload 4
bipush 18
bipush 45
castore
12: aload 1
invokevirtual java.util.UUID.getLeastSignificantBits:()J
lstore 8
start local 8 13: lload 8
bipush 48
lushr
l2i
aload 4
bipush 19
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendShort:(I[CI)V
14: aload 4
bipush 23
bipush 45
castore
15: lload 8
bipush 32
lushr
l2i
aload 4
bipush 24
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendShort:(I[CI)V
16: lload 8
l2i
aload 4
bipush 28
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendInt:(I[CI)V
17: aload 2
aload 4
iconst_0
bipush 36
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeString:([CII)V
18: return
end local 8 end local 7 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 19 0 this Lcom/fasterxml/jackson/databind/ser/std/UUIDSerializer;
0 19 1 value Ljava/util/UUID;
0 19 2 gen Lcom/fasterxml/jackson/core/JsonGenerator;
0 19 3 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
4 19 4 ch [C
5 19 5 msb J
8 19 7 i I
13 19 8 lsb J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
gen
provider
protected boolean _writeAsBinary(com.fasterxml.jackson.core.JsonGenerator);
descriptor: (Lcom/fasterxml/jackson/core/JsonGenerator;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.ser.std.UUIDSerializer._asBinary:Ljava/lang/Boolean;
ifnull 2
1: aload 0
getfield com.fasterxml.jackson.databind.ser.std.UUIDSerializer._asBinary:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.fasterxml.jackson.databind.util.TokenBuffer
ifne 3
aload 1
invokevirtual com.fasterxml.jackson.core.JsonGenerator.canWriteBinaryNatively:()Z
ifeq 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/fasterxml/jackson/databind/ser/std/UUIDSerializer;
0 4 1 g Lcom/fasterxml/jackson/core/JsonGenerator;
MethodParameters:
Name Flags
g
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.databind.jsonFormatVisitors.JsonValueFormat.UUID:Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonValueFormat;
invokevirtual com.fasterxml.jackson.databind.ser.std.UUIDSerializer.visitStringFormat:(Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper;Lcom/fasterxml/jackson/databind/JavaType;Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonValueFormat;)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/UUIDSerializer;
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
private static void _appendInt(int, char[], int);
descriptor: (I[CI)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
bipush 16
ishr
aload 1
iload 2
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendShort:(I[CI)V
1: iload 0
aload 1
iload 2
iconst_4
iadd
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendShort:(I[CI)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bits I
0 3 1 ch [C
0 3 2 offset I
MethodParameters:
Name Flags
bits
ch
offset
private static void _appendShort(int, char[], int);
descriptor: (I[CI)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
getstatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer.HEX_CHARS:[C
iload 0
bipush 12
ishr
bipush 15
iand
caload
castore
1: aload 1
iinc 2 1
iload 2
getstatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer.HEX_CHARS:[C
iload 0
bipush 8
ishr
bipush 15
iand
caload
castore
2: aload 1
iinc 2 1
iload 2
getstatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer.HEX_CHARS:[C
iload 0
iconst_4
ishr
bipush 15
iand
caload
castore
3: aload 1
iinc 2 1
iload 2
getstatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer.HEX_CHARS:[C
iload 0
bipush 15
iand
caload
castore
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 bits I
0 5 1 ch [C
0 5 2 offset I
MethodParameters:
Name Flags
bits
ch
offset
private static final byte[] _asBytes(java.util.UUID);
descriptor: (Ljava/util/UUID;)[B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=6, args_size=1
start local 0 0: bipush 16
newarray 8
astore 1
start local 1 1: aload 0
invokevirtual java.util.UUID.getMostSignificantBits:()J
lstore 2
start local 2 2: aload 0
invokevirtual java.util.UUID.getLeastSignificantBits:()J
lstore 4
start local 4 3: lload 2
bipush 32
lshr
l2i
aload 1
iconst_0
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendInt:(I[BI)V
4: lload 2
l2i
aload 1
iconst_4
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendInt:(I[BI)V
5: lload 4
bipush 32
lshr
l2i
aload 1
bipush 8
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendInt:(I[BI)V
6: lload 4
l2i
aload 1
bipush 12
invokestatic com.fasterxml.jackson.databind.ser.std.UUIDSerializer._appendInt:(I[BI)V
7: aload 1
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 uuid Ljava/util/UUID;
1 8 1 buffer [B
2 8 2 hi J
3 8 4 lo J
MethodParameters:
Name Flags
uuid
private static final void _appendInt(int, byte[], int);
descriptor: (I[BI)V
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
iload 0
bipush 24
ishr
i2b
bastore
1: aload 1
iinc 2 1
iload 2
iload 0
bipush 16
ishr
i2b
bastore
2: aload 1
iinc 2 1
iload 2
iload 0
bipush 8
ishr
i2b
bastore
3: aload 1
iinc 2 1
iload 2
iload 0
i2b
bastore
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 value I
0 5 1 buffer [B
0 5 2 offset I
MethodParameters:
Name Flags
value
buffer
offset
public boolean isEmpty(com.fasterxml.jackson.databind.SerializerProvider, java.lang.Object);
descriptor: (Lcom/fasterxml/jackson/databind/SerializerProvider;Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast java.util.UUID
invokevirtual com.fasterxml.jackson.databind.ser.std.UUIDSerializer.isEmpty:(Lcom/fasterxml/jackson/databind/SerializerProvider;Ljava/util/UUID;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
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: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast java.util.UUID
aload 2
aload 3
invokevirtual com.fasterxml.jackson.databind.ser.std.UUIDSerializer.serialize:(Ljava/util/UUID;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Lcom/fasterxml/jackson/databind/ser/std/StdScalarSerializer<Ljava/util/UUID;>;Lcom/fasterxml/jackson/databind/ser/ContextualSerializer;
SourceFile: "UUIDSerializer.java"
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