public abstract class com.google.common.collect.ImmutableCollection$Builder<E>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.collect.ImmutableCollection$Builder
super_class: java.lang.Object
{
static final int DEFAULT_INITIAL_CAPACITY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static int expandedCapacity(int, int);
descriptor: (II)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: new java.lang.AssertionError
dup
ldc "cannot store more than MAX_VALUE elements"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
iload 0
iconst_1
ishr
iadd
iconst_1
iadd
istore 2
start local 2 3: iload 2
iload 1
if_icmpge 5
4: iload 1
iconst_1
isub
invokestatic java.lang.Integer.highestOneBit:(I)I
iconst_1
ishl
istore 2
5: StackMap locals: int
StackMap stack:
iload 2
ifge 7
6: ldc 2147483647
istore 2
7: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 oldCapacity I
0 8 1 minCapacity I
3 8 2 newCapacity I
MethodParameters:
Name Flags
oldCapacity
minCapacity
void <init>();
descriptor: ()V
flags: (0x0000)
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/google/common/collect/ImmutableCollection$Builder<TE;>;
public abstract com.google.common.collect.ImmutableCollection$Builder<E> add(E);
descriptor: (Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (TE;)Lcom/google/common/collect/ImmutableCollection$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
element
public com.google.common.collect.ImmutableCollection$Builder<E> add(E[]);
descriptor: ([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 4
StackMap locals: com.google.common.collect.ImmutableCollection$Builder java.lang.Object[] top int int java.lang.Object[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
aload 2
invokevirtual com.google.common.collect.ImmutableCollection$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder;
pop
end local 2 3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 4
if_icmplt 1
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/ImmutableCollection$Builder<TE;>;
0 6 1 elements [Ljava/lang/Object;
2 3 2 element TE;
Signature: ([TE;)Lcom/google/common/collect/ImmutableCollection$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
elements
public com.google.common.collect.ImmutableCollection$Builder<E> addAll(java.lang.Iterable<? extends E>);
descriptor: (Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: com.google.common.collect.ImmutableCollection$Builder java.lang.Iterable top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 2
start local 2 2: aload 0
aload 2
invokevirtual com.google.common.collect.ImmutableCollection$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder;
pop
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/ImmutableCollection$Builder<TE;>;
0 5 1 elements Ljava/lang/Iterable<+TE;>;
2 3 2 element TE;
Signature: (Ljava/lang/Iterable<+TE;>;)Lcom/google/common/collect/ImmutableCollection$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
elements
public com.google.common.collect.ImmutableCollection$Builder<E> addAll(java.util.Iterator<? extends E>);
descriptor: (Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual com.google.common.collect.ImmutableCollection$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder;
pop
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/ImmutableCollection$Builder<TE;>;
0 4 1 elements Ljava/util/Iterator<+TE;>;
Signature: (Ljava/util/Iterator<+TE;>;)Lcom/google/common/collect/ImmutableCollection$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
elements
public abstract com.google.common.collect.ImmutableCollection<E> build();
descriptor: ()Lcom/google/common/collect/ImmutableCollection;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Lcom/google/common/collect/ImmutableCollection<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ImmutableCollection.java"
NestHost: com.google.common.collect.ImmutableCollection
InnerClasses:
public abstract Builder = com.google.common.collect.ImmutableCollection$Builder of com.google.common.collect.ImmutableCollection
RuntimeVisibleAnnotations:
com.google.errorprone.annotations.DoNotMock()