final class com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl<E> extends com.google.common.collect.ImmutableSet$SetBuilderImpl<E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl
super_class: com.google.common.collect.ImmutableSet$SetBuilderImpl
{
private final java.util.Set<java.lang.Object> delegate;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Object;>;
void <init>(com.google.common.collect.ImmutableSet$SetBuilderImpl<E>);
descriptor: (Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.google.common.collect.ImmutableSet$SetBuilderImpl.<init>:(Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;)V
1: aload 0
aload 0
getfield com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.distinct:I
invokestatic com.google.common.collect.Sets.newHashSetWithExpectedSize:(I)Ljava/util/HashSet;
putfield com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.delegate:Ljava/util/Set;
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl com.google.common.collect.ImmutableSet$SetBuilderImpl int
StackMap stack:
aload 0
getfield com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.delegate:Ljava/util/Set;
aload 0
getfield com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.dedupedElements:[Ljava/lang/Object;
iload 2
aaload
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.distinct:I
if_icmplt 4
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/ImmutableSet$JdkBackedSetBuilderImpl<TE;>;
0 8 1 toCopy Lcom/google/common/collect/ImmutableSet$SetBuilderImpl<TE;>;
3 7 2 i I
Signature: (Lcom/google/common/collect/ImmutableSet$SetBuilderImpl<TE;>;)V
MethodParameters:
Name Flags
toCopy
com.google.common.collect.ImmutableSet$SetBuilderImpl<E> add(E);
descriptor: (Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
flags: (0x0000)
Code:
stack=2, 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
getfield com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.delegate:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifeq 3
2: aload 0
aload 1
invokevirtual com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.addDedupedElement:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/ImmutableSet$JdkBackedSetBuilderImpl<TE;>;
0 4 1 e TE;
Signature: (TE;)Lcom/google/common/collect/ImmutableSet$SetBuilderImpl<TE;>;
MethodParameters:
Name Flags
e
com.google.common.collect.ImmutableSet$SetBuilderImpl<E> copy();
descriptor: ()Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl
dup
aload 0
invokespecial com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.<init>:(Lcom/google/common/collect/ImmutableSet$SetBuilderImpl;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableSet$JdkBackedSetBuilderImpl<TE;>;
Signature: ()Lcom/google/common/collect/ImmutableSet$SetBuilderImpl<TE;>;
com.google.common.collect.ImmutableSet<E> build();
descriptor: ()Lcom/google/common/collect/ImmutableSet;
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.distinct:I
tableswitch { // 0 - 1
0: 1
1: 2
default: 3
}
1: StackMap locals:
StackMap stack:
invokestatic com.google.common.collect.ImmutableSet.of:()Lcom/google/common/collect/ImmutableSet;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.dedupedElements:[Ljava/lang/Object;
iconst_0
aaload
invokestatic com.google.common.collect.ImmutableSet.of:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
areturn
3: StackMap locals:
StackMap stack:
new com.google.common.collect.JdkBackedImmutableSet
dup
4: aload 0
getfield com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.delegate:Ljava/util/Set;
aload 0
getfield com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.dedupedElements:[Ljava/lang/Object;
aload 0
getfield com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl.distinct:I
invokestatic com.google.common.collect.ImmutableList.asImmutableList:([Ljava/lang/Object;I)Lcom/google/common/collect/ImmutableList;
5: invokespecial com.google.common.collect.JdkBackedImmutableSet.<init>:(Ljava/util/Set;Lcom/google/common/collect/ImmutableList;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/ImmutableSet$JdkBackedSetBuilderImpl<TE;>;
Signature: ()Lcom/google/common/collect/ImmutableSet<TE;>;
}
Signature: <E:Ljava/lang/Object;>Lcom/google/common/collect/ImmutableSet$SetBuilderImpl<TE;>;
SourceFile: "ImmutableSet.java"
NestHost: com.google.common.collect.ImmutableSet
InnerClasses:
private final JdkBackedSetBuilderImpl = com.google.common.collect.ImmutableSet$JdkBackedSetBuilderImpl of com.google.common.collect.ImmutableSet
private abstract SetBuilderImpl = com.google.common.collect.ImmutableSet$SetBuilderImpl of com.google.common.collect.ImmutableSet