public class com.fasterxml.jackson.databind.ser.std.ByteBufferSerializer extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<java.nio.ByteBuffer>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.databind.ser.std.ByteBufferSerializer
super_class: com.fasterxml.jackson.databind.ser.std.StdScalarSerializer
{
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/nio/ByteBuffer;
invokespecial com.fasterxml.jackson.databind.ser.std.StdScalarSerializer.<init>:(Ljava/lang/Class;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/ser/std/ByteBufferSerializer;
public void serialize(java.nio.ByteBuffer, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider);
descriptor: (Ljava/nio/ByteBuffer;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 4
1: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 4
start local 4 2: aload 2
aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 4
iadd
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
iload 4
isub
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeBinary:([BII)V
3: return
end local 4 4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.asReadOnlyBuffer:()Ljava/nio/ByteBuffer;
astore 4
start local 4 5: aload 4
invokevirtual java.nio.ByteBuffer.position:()I
ifle 7
6: aload 4
invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/ByteBuffer;
pop
7: StackMap locals: java.nio.ByteBuffer
StackMap stack:
new com.fasterxml.jackson.databind.util.ByteBufferBackedInputStream
dup
aload 4
invokespecial com.fasterxml.jackson.databind.util.ByteBufferBackedInputStream.<init>:(Ljava/nio/ByteBuffer;)V
astore 5
start local 5 8: aload 2
aload 5
aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeBinary:(Ljava/io/InputStream;I)I
pop
9: aload 5
invokevirtual java.io.InputStream.close:()V
10: return
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 11 0 this Lcom/fasterxml/jackson/databind/ser/std/ByteBufferSerializer;
0 11 1 bbuf Ljava/nio/ByteBuffer;
0 11 2 gen Lcom/fasterxml/jackson/core/JsonGenerator;
0 11 3 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
2 4 4 pos I
5 11 4 copy Ljava/nio/ByteBuffer;
8 11 5 in Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bbuf
gen
provider
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=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokeinterface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.expectArrayFormat:(Lcom/fasterxml/jackson/databind/JavaType;)Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonArrayFormatVisitor;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
getstatic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes.INTEGER:Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatTypes;
invokeinterface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor.itemsFormat:(Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatTypes;)V
3: StackMap locals: com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor
StackMap stack:
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/ByteBufferSerializer;
0 4 1 visitor Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper;
0 4 2 typeHint Lcom/fasterxml/jackson/databind/JavaType;
1 4 3 v2 Lcom/fasterxml/jackson/databind/jsonFormatVisitors/JsonArrayFormatVisitor;
Exceptions:
throws com.fasterxml.jackson.databind.JsonMappingException
MethodParameters:
Name Flags
visitor
typeHint
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.nio.ByteBuffer
aload 2
aload 3
invokevirtual com.fasterxml.jackson.databind.ser.std.ByteBufferSerializer.serialize:(Ljava/nio/ByteBuffer;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/nio/ByteBuffer;>;
SourceFile: "ByteBufferSerializer.java"