public class com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList<E> extends java.util.AbstractList<E> implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
super_class: java.util.AbstractList
{
private static final com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList EMPTY;
descriptor: Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.Object[] elements;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
dup
iconst_0
anewarray java.lang.Object
invokespecial com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.<init>:([Ljava/lang/Object;)V
1: putstatic com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.EMPTY:Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList;
2: return
LocalVariableTable:
Start End Slot Name Signature
public static <E> com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList<E> of(E[]);
descriptor: ([Ljava/lang/Object;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
dup
aload 0
aload 0
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/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 1 0 elements [Ljava/lang/Object;
Signature: <E:Ljava/lang/Object;>([TE;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList<TE;>;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
elements
public static <E> com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList<E> of();
descriptor: ()Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.EMPTY:Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <E:Ljava/lang/Object;>()Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList<TE;>;
public static <E> com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList<E> of(E);
descriptor: (Ljava/lang/Object;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
dup
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
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 1 0 element TE;
Signature: <E:Ljava/lang/Object;>(TE;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList<TE;>;
MethodParameters:
Name Flags
element
public static <E> com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList<E> of(E, E);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
dup
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
invokespecial com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.<init>:([Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 element1 TE;
0 1 1 element2 TE;
Signature: <E:Ljava/lang/Object;>(TE;TE;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList<TE;>;
MethodParameters:
Name Flags
element1
element2
public static <E> com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList<E> of(E, E, E);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
dup
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 2
aastore
invokespecial com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.<init>:([Ljava/lang/Object;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 element1 TE;
0 1 1 element2 TE;
0 1 2 element3 TE;
Signature: <E:Ljava/lang/Object;>(TE;TE;TE;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList<TE;>;
MethodParameters:
Name Flags
element1
element2
element3
public static <E> com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList<E> copyOf(java.lang.Iterable<E>);
descriptor: (Ljava/lang/Iterable;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
ifeq 2
1: aload 0
checkcast com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
goto 3
2: StackMap locals:
StackMap stack:
new com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
dup
aload 0
invokestatic com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.toArray:(Ljava/lang/Iterable;)[Ljava/lang/Object;
invokespecial com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.<init>:([Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack: com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 iterable Ljava/lang/Iterable<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/lang/Iterable<TE;>;)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList<TE;>;
MethodParameters:
Name Flags
iterable
public static <E> com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder<E> builder();
descriptor: ()Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 16
invokestatic com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.builder:(I)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <E:Ljava/lang/Object;>()Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder<TE;>;
public static <E> com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder<E> builder(int);
descriptor: (I)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder
dup
iload 0
invokespecial com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 expectedSize I
Signature: <E:Ljava/lang/Object;>(I)Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList$Builder<TE;>;
MethodParameters:
Name Flags
expectedSize
private void <init>(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.AbstractList.<init>:()V
1: aload 0
aload 1
putfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.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<TE;>;
0 3 1 elements [Ljava/lang/Object;
MethodParameters:
Name Flags
elements
public E get();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.elements:[Ljava/lang/Object;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList<TE;>;
0 1 1 index I
Signature: (I)TE;
MethodParameters:
Name Flags
index
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList.elements:[Ljava/lang/Object;
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableList<TE;>;
private static [] toArray(java.lang.Iterable<?>);
descriptor: (Ljava/lang/Iterable;)[Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
instanceof java.util.Collection
ifeq 3
1: aload 0
checkcast java.util.Collection
astore 1
start local 1 2: goto 8
end local 1 3: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 4: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: java.lang.Iterable java.util.Collection top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 6: aload 1
aload 2
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: StackMap locals: java.lang.Iterable java.util.Collection
StackMap stack:
aload 1
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 iterable Ljava/lang/Iterable<*>;
2 3 1 collection Ljava/util/Collection<Ljava/lang/Object;>;
4 9 1 collection Ljava/util/Collection<Ljava/lang/Object;>;
6 7 2 o Ljava/lang/Object;
Signature: (Ljava/lang/Iterable<*>;)[Ljava/lang/Object;
MethodParameters:
Name Flags
iterable
}
Signature: <E:Ljava/lang/Object;>Ljava/util/AbstractList<TE;>;Ljava/io/Serializable;
SourceFile: "NullAllowingImmutableList.java"
NestMembers:
com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder
InnerClasses:
public Builder = com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList$Builder of com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableList