public abstract class com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder
super_class: java.lang.Object
{
static final int INITIAL_CHUNK_SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 12
static final int SMALL_CHUNK_SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16384
static final int MAX_CHUNK_SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 262144
protected T _freeBuffer;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Signature: TT;
protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node<T> _bufferHead;
descriptor: Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
flags: (0x0004) ACC_PROTECTED
Signature: Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node<TT;>;
protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node<T> _bufferTail;
descriptor: Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
flags: (0x0004) ACC_PROTECTED
Signature: Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node<TT;>;
protected int _bufferedEntryCount;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder<TT;>;
public int bufferedSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferedEntryCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder<TT;>;
public T resetAndStart();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._reset:()V
1: aload 0
getfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._freeBuffer:Ljava/lang/Object;
ifnonnull 3
2: aload 0
bipush 12
invokevirtual com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._constructArray:(I)Ljava/lang/Object;
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._freeBuffer:Ljava/lang/Object;
4: StackMap locals:
StackMap stack: java.lang.Object
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder<TT;>;
Signature: ()TT;
public final T appendCompletedChunk(T, );
descriptor: (Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node
dup
aload 1
iload 2
invokespecial com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node.<init>:(Ljava/lang/Object;I)V
astore 3
start local 3 1: aload 0
getfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferHead:Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
ifnonnull 4
2: aload 0
aload 0
aload 3
dup_x1
putfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferTail:Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
putfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferHead:Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
3: goto 6
4: StackMap locals: com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node
StackMap stack:
aload 0
getfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferTail:Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
aload 3
invokevirtual com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node.linkNext:(Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;)V
5: aload 0
aload 3
putfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferTail:Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
6: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferedEntryCount:I
iload 2
iadd
putfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferedEntryCount:I
7: iload 2
istore 4
start local 4 8: iload 4
sipush 16384
if_icmpge 11
9: iload 4
iload 4
iadd
istore 4
10: goto 12
11: StackMap locals: int
StackMap stack:
iload 4
iload 4
iconst_2
ishr
iadd
istore 4
12: StackMap locals:
StackMap stack:
aload 0
iload 4
invokevirtual com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._constructArray:(I)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder<TT;>;
0 13 1 fullChunk TT;
0 13 2 fullChunkLength I
1 13 3 next Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node<TT;>;
8 13 4 nextLen I
Signature: (TT;I)TT;
MethodParameters:
Name Flags
fullChunk
fullChunkLength
public T completeAndClearBuffer(T, );
descriptor: (Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 2
aload 0
getfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferedEntryCount:I
iadd
istore 3
start local 3 1: aload 0
iload 3
invokevirtual com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._constructArray:(I)Ljava/lang/Object;
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: aload 0
getfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferHead:Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
astore 6
start local 6 4: goto 7
5: StackMap locals: com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder java.lang.Object int int java.lang.Object int com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node
StackMap stack:
aload 6
aload 4
iload 5
invokevirtual com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node.copyData:(Ljava/lang/Object;I)I
istore 5
6: aload 6
invokevirtual com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node.next:()Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
astore 6
StackMap locals:
StackMap stack:
7: aload 6
ifnonnull 5
end local 6 8: aload 1
iconst_0
aload 4
iload 5
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: iload 5
iload 2
iadd
istore 5
10: iload 5
iload 3
if_icmpeq 12
11: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Should have gotten "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " entries, got "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 4
areturn
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 13 0 this Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder<TT;>;
0 13 1 lastChunk TT;
0 13 2 lastChunkEntries I
1 13 3 totalSize I
2 13 4 resultArray TT;
3 13 5 ptr I
4 8 6 n Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node<TT;>;
Signature: (TT;I)TT;
MethodParameters:
Name Flags
lastChunk
lastChunkEntries
protected abstract T _constructArray();
descriptor: (I)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (I)TT;
MethodParameters:
Name Flags
len
protected void _reset();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferTail:Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
ifnull 2
1: aload 0
aload 0
getfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferTail:Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
invokevirtual com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node.getData:()Ljava/lang/Object;
putfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._freeBuffer:Ljava/lang/Object;
2: StackMap locals:
StackMap stack:
aload 0
aload 0
aconst_null
dup_x1
putfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferTail:Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
putfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferHead:Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder$Node;
3: aload 0
iconst_0
putfield com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder._bufferedEntryCount:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/databind/util/PrimitiveArrayBuilder<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "PrimitiveArrayBuilder.java"
NestMembers:
com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node
InnerClasses:
final Node = com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder$Node of com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder