public class com.google.common.collect.ImmutableSet$Builder<E> extends com.google.common.collect.ImmutableCollection$Builder<E>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.google.common.collect.ImmutableSet$Builder
super_class: com.google.common.collect.ImmutableCollection$Builder
{
private com.google.common.collect.ImmutableSet$SetBuilderImpl<E> impl;
descriptor: Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/google/common/collect/ImmutableSet$SetBuilderImpl<TE;>;
boolean forceCopy;
descriptor: Z
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_4
invokespecial com.google.common.collect.ImmutableSet$Builder.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.collect.ImmutableCollection$Builder.<init>:()V
1: aload 0
new com.google.common.collect.ImmutableSet$RegularSetBuilderImpl
dup
iload 1
invokespecial com.google.common.collect.ImmutableSet$RegularSetBuilderImpl.<init>:(I)V
putfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
0 3 1 capacity I
MethodParameters:
Name Flags
capacity
void <init>(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.collect.ImmutableCollection$Builder.<init>:()V
1: aload 0
aconst_null
putfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
0 3 1 subclass Z
MethodParameters:
Name Flags
subclass
void forceJdk();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl
dup
aload 0
getfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
invokespecial com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.<init>:(Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;)V
putfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
final void copyIfNecessary();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ImmutableSet$Builder.forceCopy:Z
ifeq 3
1: aload 0
invokevirtual com.google.common.collect.ImmutableSet$Builder.copy:()V
2: aload 0
iconst_0
putfield com.google.common.collect.ImmutableSet$Builder.forceCopy:Z
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
void copy();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
invokevirtual com.google.common.collect.ImmutableSet$SetBuilderImpl.copy:()Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
putfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
public com.google.common.collect.ImmutableSet$Builder<E> add(E);
descriptor: (Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual com.google.common.collect.ImmutableSet$Builder.copyIfNecessary:()V
2: aload 0
aload 0
getfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
aload 1
invokevirtual com.google.common.collect.ImmutableSet$SetBuilderImpl.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
putfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
0 4 1 element TE;
Signature: (TE;)Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
element
public com.google.common.collect.ImmutableSet$Builder<E> add(E[]);
descriptor: ([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$Builder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.google.common.collect.ImmutableCollection$Builder.add:([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
0 2 1 elements [Ljava/lang/Object;
Signature: ([TE;)Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
elements
public com.google.common.collect.ImmutableSet$Builder<E> addAll(java.lang.Iterable<? extends E>);
descriptor: (Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.google.common.collect.ImmutableCollection$Builder.addAll:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableCollection$Builder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
0 2 1 elements Ljava/lang/Iterable<+TE;>;
Signature: (Ljava/lang/Iterable<+TE;>;)Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
elements
public com.google.common.collect.ImmutableSet$Builder<E> addAll(java.util.Iterator<? extends E>);
descriptor: (Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableSet$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.google.common.collect.ImmutableCollection$Builder.addAll:(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableCollection$Builder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
0 2 1 elements Ljava/util/Iterator<+TE;>;
Signature: (Ljava/util/Iterator<+TE;>;)Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
elements
com.google.common.collect.ImmutableSet$Builder<E> combine(com.google.common.collect.ImmutableSet$Builder<E>);
descriptor: (Lcom/google/common/collect/ImmutableSet$Builder;)Lcom/google/common/collect/ImmutableSet$Builder;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.collect.ImmutableSet$Builder.copyIfNecessary:()V
1: aload 0
aload 0
getfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
aload 1
getfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
invokevirtual com.google.common.collect.ImmutableSet$SetBuilderImpl.combine:(Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;)Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
putfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
0 3 1 other Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
Signature: (Lcom/google/common/collect/ImmutableSet$Builder<TE;>;)Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
MethodParameters:
Name Flags
other
public com.google.common.collect.ImmutableSet<E> build();
descriptor: ()Lcom/google/common/collect/ImmutableSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.google.common.collect.ImmutableSet$Builder.forceCopy:Z
1: aload 0
aload 0
getfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
invokevirtual com.google.common.collect.ImmutableSet$SetBuilderImpl.review:()Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
putfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
2: aload 0
getfield com.google.common.collect.ImmutableSet$Builder.impl:Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
invokevirtual com.google.common.collect.ImmutableSet$SetBuilderImpl.build:()Lcom/google/common/collect/ImmutableSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
Signature: ()Lcom/google/common/collect/ImmutableSet<TE;>;
public com.google.common.collect.ImmutableCollection build();
descriptor: ()Lcom/google/common/collect/ImmutableCollection;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.common.collect.ImmutableSet$Builder.build:()Lcom/google/common/collect/ImmutableSet;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableCollection$Builder addAll(java.util.Iterator);
descriptor: (Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.Iterator
invokevirtual com.google.common.collect.ImmutableSet$Builder.addAll:(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableCollection$Builder addAll(java.lang.Iterable);
descriptor: (Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Iterable
invokevirtual com.google.common.collect.ImmutableSet$Builder.addAll:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableCollection$Builder add(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x10c1) ACC_PUBLIC, ACC_BRIDGE, ACC_VARARGS, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Object[]
invokevirtual com.google.common.collect.ImmutableSet$Builder.add:([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableCollection$Builder add(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Object
invokevirtual com.google.common.collect.ImmutableSet$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <E:Ljava/lang/Object;>Lcom/google/common/collect/ImmutableCollection$Builder<TE;>;
SourceFile: "ImmutableSet.java"
NestHost: com.google.common.collect.ImmutableSet
InnerClasses:
public abstract Builder = com.google.common.collect.ImmutableCollection$Builder of com.google.common.collect.ImmutableCollection
public Builder = com.google.common.collect.ImmutableSet$Builder of com.google.common.collect.ImmutableSet
private final JdkBackedSetBuilderImpl = com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl of com.google.common.collect.ImmutableSet
private final RegularSetBuilderImpl = com.google.common.collect.ImmutableSet$RegularSetBuilderImpl of com.google.common.collect.ImmutableSet
private abstract SetBuilderImpl = com.google.common.collect.ImmutableSet$SetBuilderImpl of com.google.common.collect.ImmutableSet