public class com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder<E>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder
super_class: java.lang.Object
{
private java.lang.Object[] elements;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
anewarray java.lang.Object
putfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.elements:[Ljava/lang/Object;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder<TE;>;
0 3 1 expectedSize I
MethodParameters:
Name Flags
expectedSize
public com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder<E> add(E);
descriptor: (Ljava/lang/Object;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
invokevirtual com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.maybeResize:(I)V
1: aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.elements:[Ljava/lang/Object;
aload 0
dup
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.size:I
dup_x1
iconst_1
iadd
putfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.size:I
aload 1
aastore
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder<TE;>;
0 3 1 newElement TE;
Signature: (TE;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder<TE;>;
MethodParameters:
Name Flags
newElement
public com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder<E> addAll(java.lang.Iterable<? extends E>);
descriptor: (Ljava/lang/Iterable;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.Collection
ifeq 3
1: aload 1
checkcast java.util.Collection
astore 2
start local 2 2: goto 8
end local 2 3: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 4: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder java.lang.Iterable java.util.Collection top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 6: aload 2
aload 3
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: StackMap locals: com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder java.lang.Iterable java.util.Collection
StackMap stack:
aload 0
aload 2
invokeinterface java.util.Collection.size:()I
invokevirtual com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.maybeResize:(I)V
9: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder java.lang.Iterable java.util.Collection top java.util.Iterator
StackMap stack:
10: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 11: aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.elements:[Ljava/lang/Object;
aload 0
dup
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.size:I
dup_x1
iconst_1
iadd
putfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.size:I
aload 3
aastore
end local 3 12: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder<TE;>;
0 14 1 newElements Ljava/lang/Iterable<+TE;>;
2 3 2 collection Ljava/util/Collection<TE;>;
4 14 2 collection Ljava/util/Collection<TE;>;
6 7 3 newElement TE;
11 12 3 newElement Ljava/lang/Object;
Signature: (Ljava/lang/Iterable<+TE;>;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder<TE;>;
MethodParameters:
Name Flags
newElements
public com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList<E> build();
descriptor: ()Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
dup
1: aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.size:I
aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.elements:[Ljava/lang/Object;
arraylength
if_icmpne 2
aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.elements:[Ljava/lang/Object;
goto 3
StackMap locals: com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder
StackMap stack: new 0 new 0
2: aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.elements:[Ljava/lang/Object;
iconst_0
aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.size:I
invokestatic java.util.Arrays.copyOfRange:([Ljava/lang/Object;II)[Ljava/lang/Object;
3: StackMap locals: com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder
StackMap stack: new 0 new 0 java.lang.Object[]
invokespecial com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.<init>:([Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder<TE;>;
Signature: ()Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList<TE;>;
private void maybeResize(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.size:I
iload 1
iadd
istore 2
start local 2 1: iload 2
ifge 3
2: new java.lang.OutOfMemoryError
dup
invokespecial java.lang.OutOfMemoryError.<init>:()V
athrow
3: StackMap locals: int
StackMap stack:
iload 2
aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.elements:[Ljava/lang/Object;
arraylength
if_icmple 8
4: aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.elements:[Ljava/lang/Object;
arraylength
iconst_2
imul
istore 3
start local 3 5: iload 3
ifge 7
6: iload 2
istore 3
7: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.elements:[Ljava/lang/Object;
iload 3
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
putfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.elements:[Ljava/lang/Object;
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder<TE;>;
0 9 1 toAdd I
1 9 2 neededSize I
5 8 3 newLength I
MethodParameters:
Name Flags
toAdd
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "NullAllowingImmutableList.java"
NestHost: com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
InnerClasses:
public Builder = com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder of com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList