final class com.google.common.collect.JdkBackedImmutableBiMap<K, V> extends com.google.common.collect.ImmutableBiMap<K, V>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.JdkBackedImmutableBiMap
super_class: com.google.common.collect.ImmutableBiMap
{
private final transient com.google.common.collect.ImmutableList<java.util.Map$Entry<K, V>> entries;
descriptor: Lcom/google/common/collect/ImmutableList;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
Signature: Lcom/google/common/collect/ImmutableList<Ljava/util/Map$Entry<TK;TV;>;>;
private final java.util.Map<K, V> forwardDelegate;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<TK;TV;>;
private final java.util.Map<V, K> backwardDelegate;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<TV;TK;>;
private transient com.google.common.collect.JdkBackedImmutableBiMap<V, K> inverse;
descriptor: Lcom/google/common/collect/JdkBackedImmutableBiMap;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Lcom/google/common/collect/JdkBackedImmutableBiMap<TV;TK;>;
RuntimeVisibleAnnotations:
com.google.errorprone.annotations.concurrent.LazyInit()
RuntimeInvisibleAnnotations:
com.google.j2objc.annotations.RetainedWith()
static <K, V> com.google.common.collect.ImmutableBiMap<K, V> create(int, java.util.Map$Entry<K, V>[]);
descriptor: (I[Ljava/util/Map$Entry;)Lcom/google/common/collect/ImmutableBiMap;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: iload 0
invokestatic com.google.common.collect.Maps.newHashMapWithExpectedSize:(I)Ljava/util/HashMap;
astore 2
start local 2 1: iload 0
invokestatic com.google.common.collect.Maps.newHashMapWithExpectedSize:(I)Ljava/util/HashMap;
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 13
4: StackMap locals: java.util.Map java.util.Map int
StackMap stack:
aload 1
iload 4
aaload
invokestatic com.google.common.collect.RegularImmutableMap.makeImmutable:(Ljava/util/Map$Entry;)Lcom/google/common/collect/ImmutableMapEntry;
astore 5
start local 5 5: aload 1
iload 4
aload 5
aastore
6: aload 2
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 7: aload 6
ifnull 9
8: ldc "key"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
iload 4
aaload
invokestatic com.google.common.collect.JdkBackedImmutableBiMap.conflictException:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;
athrow
9: StackMap locals: java.util.Map$Entry java.lang.Object
StackMap stack:
aload 3
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 10: aload 7
ifnull 12
11: ldc "value"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
iload 4
aaload
invokestatic com.google.common.collect.JdkBackedImmutableBiMap.conflictException:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;
athrow
end local 7 end local 6 end local 5 12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 0
if_icmplt 4
end local 4 14: aload 1
iload 0
invokestatic com.google.common.collect.ImmutableList.asImmutableList:([Ljava/lang/Object;I)Lcom/google/common/collect/ImmutableList;
astore 4
start local 4 15: new com.google.common.collect.JdkBackedImmutableBiMap
dup
aload 4
aload 2
aload 3
invokespecial com.google.common.collect.JdkBackedImmutableBiMap.<init>:(Lcom/google/common/collect/ImmutableList;Ljava/util/Map;Ljava/util/Map;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 n I
0 16 1 entryArray [Ljava/util/Map$Entry;
1 16 2 forwardDelegate Ljava/util/Map<TK;TV;>;
2 16 3 backwardDelegate Ljava/util/Map<TV;TK;>;
3 14 4 i I
5 12 5 e Ljava/util/Map$Entry<TK;TV;>;
7 12 6 oldValue TV;
10 12 7 oldKey TK;
15 16 4 entryList Lcom/google/common/collect/ImmutableList<Ljava/util/Map$Entry<TK;TV;>;>;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(I[Ljava/util/Map$Entry<TK;TV;>;)Lcom/google/common/collect/ImmutableBiMap<TK;TV;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
n
entryArray
private void <init>(com.google.common.collect.ImmutableList<java.util.Map$Entry<K, V>>, java.util.Map<K, V>, java.util.Map<V, K>);
descriptor: (Lcom/google/common/collect/ImmutableList;Ljava/util/Map;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial com.google.common.collect.ImmutableBiMap.<init>:()V
1: aload 0
aload 1
putfield com.google.common.collect.JdkBackedImmutableBiMap.entries:Lcom/google/common/collect/ImmutableList;
2: aload 0
aload 2
putfield com.google.common.collect.JdkBackedImmutableBiMap.forwardDelegate:Ljava/util/Map;
3: aload 0
aload 3
putfield com.google.common.collect.JdkBackedImmutableBiMap.backwardDelegate:Ljava/util/Map;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/JdkBackedImmutableBiMap<TK;TV;>;
0 5 1 entries Lcom/google/common/collect/ImmutableList<Ljava/util/Map$Entry<TK;TV;>;>;
0 5 2 forwardDelegate Ljava/util/Map<TK;TV;>;
0 5 3 backwardDelegate Ljava/util/Map<TV;TK;>;
Signature: (Lcom/google/common/collect/ImmutableList<Ljava/util/Map$Entry<TK;TV;>;>;Ljava/util/Map<TK;TV;>;Ljava/util/Map<TV;TK;>;)V
MethodParameters:
Name Flags
entries
forwardDelegate
backwardDelegate
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.google.common.collect.JdkBackedImmutableBiMap.entries:Lcom/google/common/collect/ImmutableList;
invokevirtual com.google.common.collect.ImmutableList.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/JdkBackedImmutableBiMap<TK;TV;>;
public com.google.common.collect.ImmutableBiMap<V, K> inverse();
descriptor: ()Lcom/google/common/collect/ImmutableBiMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.JdkBackedImmutableBiMap.inverse:Lcom/google/common/collect/JdkBackedImmutableBiMap;
astore 1
start local 1 1: aload 1
ifnonnull 9
2: aload 0
3: new com.google.common.collect.JdkBackedImmutableBiMap
dup
4: new com.google.common.collect.JdkBackedImmutableBiMap$InverseEntries
dup
aload 0
invokespecial com.google.common.collect.JdkBackedImmutableBiMap$InverseEntries.<init>:(Lcom/google/common/collect/JdkBackedImmutableBiMap;)V
aload 0
getfield com.google.common.collect.JdkBackedImmutableBiMap.backwardDelegate:Ljava/util/Map;
aload 0
getfield com.google.common.collect.JdkBackedImmutableBiMap.forwardDelegate:Ljava/util/Map;
5: invokespecial com.google.common.collect.JdkBackedImmutableBiMap.<init>:(Lcom/google/common/collect/ImmutableList;Ljava/util/Map;Ljava/util/Map;)V
6: dup
astore 1
7: putfield com.google.common.collect.JdkBackedImmutableBiMap.inverse:Lcom/google/common/collect/JdkBackedImmutableBiMap;
8: aload 1
aload 0
putfield com.google.common.collect.JdkBackedImmutableBiMap.inverse:Lcom/google/common/collect/JdkBackedImmutableBiMap;
9: StackMap locals: com.google.common.collect.JdkBackedImmutableBiMap
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/common/collect/JdkBackedImmutableBiMap<TK;TV;>;
1 10 1 result Lcom/google/common/collect/JdkBackedImmutableBiMap<TV;TK;>;
Signature: ()Lcom/google/common/collect/ImmutableBiMap<TV;TK;>;
public V get();
descriptor: (Ljava/lang/Object;)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.google.common.collect.JdkBackedImmutableBiMap.forwardDelegate:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/JdkBackedImmutableBiMap<TK;TV;>;
0 1 1 key Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TV;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
key
com.google.common.collect.ImmutableSet<java.util.Map$Entry<K, V>> createEntrySet();
descriptor: ()Lcom/google/common/collect/ImmutableSet;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.google.common.collect.ImmutableMapEntrySet$RegularEntrySet
dup
aload 0
aload 0
getfield com.google.common.collect.JdkBackedImmutableBiMap.entries:Lcom/google/common/collect/ImmutableList;
invokespecial com.google.common.collect.ImmutableMapEntrySet$RegularEntrySet.<init>:(Lcom/google/common/collect/ImmutableMap;Lcom/google/common/collect/ImmutableList;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/JdkBackedImmutableBiMap<TK;TV;>;
Signature: ()Lcom/google/common/collect/ImmutableSet<Ljava/util/Map$Entry<TK;TV;>;>;
com.google.common.collect.ImmutableSet<K> createKeySet();
descriptor: ()Lcom/google/common/collect/ImmutableSet;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.ImmutableMapKeySet
dup
aload 0
invokespecial com.google.common.collect.ImmutableMapKeySet.<init>:(Lcom/google/common/collect/ImmutableMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/JdkBackedImmutableBiMap<TK;TV;>;
Signature: ()Lcom/google/common/collect/ImmutableSet<TK;>;
boolean isPartialView();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/JdkBackedImmutableBiMap<TK;TV;>;
public com.google.common.collect.BiMap inverse();
descriptor: ()Lcom/google/common/collect/BiMap;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.common.collect.JdkBackedImmutableBiMap.inverse:()Lcom/google/common/collect/ImmutableBiMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Lcom/google/common/collect/ImmutableBiMap<TK;TV;>;
SourceFile: "JdkBackedImmutableBiMap.java"
NestMembers:
com.google.common.collect.JdkBackedImmutableBiMap$InverseEntries
InnerClasses:
final RegularEntrySet = com.google.common.collect.ImmutableMapEntrySet$RegularEntrySet of com.google.common.collect.ImmutableMapEntrySet
private final InverseEntries = com.google.common.collect.JdkBackedImmutableBiMap$InverseEntries of com.google.common.collect.JdkBackedImmutableBiMap
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)