final class com.google.common.collect.JdkBackedImmutableMap<K, V> extends com.google.common.collect.ImmutableMap<K, V>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.JdkBackedImmutableMap
super_class: com.google.common.collect.ImmutableMap
{
private final transient java.util.Map<K, V> delegateMap;
descriptor: Ljava/util/Map;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
Signature: Ljava/util/Map<TK;TV;>;
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;>;>;
static <K, V> com.google.common.collect.ImmutableMap<K, V> create(int, java.util.Map$Entry<K, V>[]);
descriptor: (I[Ljava/util/Map$Entry;)Lcom/google/common/collect/ImmutableMap;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, 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: iconst_0
istore 3
start local 3 2: goto 8
3: StackMap locals: java.util.Map int
StackMap stack:
aload 1
iload 3
aload 1
iload 3
aaload
invokestatic com.google.common.collect.RegularImmutableMap.makeImmutable:(Ljava/util/Map$Entry;)Lcom/google/common/collect/ImmutableMapEntry;
aastore
4: aload 2
aload 1
iload 3
aaload
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
aload 1
iload 3
aaload
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 5: aload 4
ifnull 7
6: ldc "key"
aload 1
iload 3
aaload
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
iload 3
aaload
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 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.google.common.collect.JdkBackedImmutableMap.conflictException:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;
athrow
end local 4 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 0
if_icmplt 3
end local 3 9: new com.google.common.collect.JdkBackedImmutableMap
dup
aload 2
aload 1
iload 0
invokestatic com.google.common.collect.ImmutableList.asImmutableList:([Ljava/lang/Object;I)Lcom/google/common/collect/ImmutableList;
invokespecial com.google.common.collect.JdkBackedImmutableMap.<init>:(Ljava/util/Map;Lcom/google/common/collect/ImmutableList;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 n I
0 10 1 entryArray [Ljava/util/Map$Entry;
1 10 2 delegateMap Ljava/util/Map<TK;TV;>;
2 9 3 i I
5 7 4 oldValue TV;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(I[Ljava/util/Map$Entry<TK;TV;>;)Lcom/google/common/collect/ImmutableMap<TK;TV;>;
MethodParameters:
Name Flags
n
entryArray
void <init>(java.util.Map<K, V>, com.google.common.collect.ImmutableList<java.util.Map$Entry<K, V>>);
descriptor: (Ljava/util/Map;Lcom/google/common/collect/ImmutableList;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.google.common.collect.ImmutableMap.<init>:()V
1: aload 0
aload 1
putfield com.google.common.collect.JdkBackedImmutableMap.delegateMap:Ljava/util/Map;
2: aload 0
aload 2
putfield com.google.common.collect.JdkBackedImmutableMap.entries:Lcom/google/common/collect/ImmutableList;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/JdkBackedImmutableMap<TK;TV;>;
0 4 1 delegateMap Ljava/util/Map<TK;TV;>;
0 4 2 entries Lcom/google/common/collect/ImmutableList<Ljava/util/Map$Entry<TK;TV;>;>;
Signature: (Ljava/util/Map<TK;TV;>;Lcom/google/common/collect/ImmutableList<Ljava/util/Map$Entry<TK;TV;>;>;)V
MethodParameters:
Name Flags
delegateMap
entries
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.JdkBackedImmutableMap.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/JdkBackedImmutableMap<TK;TV;>;
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.JdkBackedImmutableMap.delegateMap: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/JdkBackedImmutableMap<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.JdkBackedImmutableMap.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/JdkBackedImmutableMap<TK;TV;>;
Signature: ()Lcom/google/common/collect/ImmutableSet<Ljava/util/Map$Entry<TK;TV;>;>;
public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
descriptor: (Ljava/util/function/BiConsumer;)V
flags: (0x0001) ACC_PUBLIC
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.JdkBackedImmutableMap.entries:Lcom/google/common/collect/ImmutableList;
aload 1
invokedynamic accept(Ljava/util/function/BiConsumer;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/google/common/collect/JdkBackedImmutableMap.lambda$0(Ljava/util/function/BiConsumer;Ljava/util/Map$Entry;)V (6)
(Ljava/util/Map$Entry;)V
invokevirtual com.google.common.collect.ImmutableList.forEach:(Ljava/util/function/Consumer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/JdkBackedImmutableMap<TK;TV;>;
0 3 1 action Ljava/util/function/BiConsumer<-TK;-TV;>;
Signature: (Ljava/util/function/BiConsumer<-TK;-TV;>;)V
MethodParameters:
Name Flags
action
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/JdkBackedImmutableMap<TK;TV;>;
Signature: ()Lcom/google/common/collect/ImmutableSet<TK;>;
com.google.common.collect.ImmutableCollection<V> createValues();
descriptor: ()Lcom/google/common/collect/ImmutableCollection;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.ImmutableMapValues
dup
aload 0
invokespecial com.google.common.collect.ImmutableMapValues.<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/JdkBackedImmutableMap<TK;TV;>;
Signature: ()Lcom/google/common/collect/ImmutableCollection<TV;>;
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/JdkBackedImmutableMap<TK;TV;>;
private static void lambda$0(java.util.function.BiConsumer, java.util.Map$Entry);
descriptor: (Ljava/util/function/BiConsumer;Ljava/util/Map$Entry;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 e Ljava/util/Map$Entry<TK;TV;>;
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Lcom/google/common/collect/ImmutableMap<TK;TV;>;
SourceFile: "JdkBackedImmutableMap.java"
InnerClasses:
final RegularEntrySet = com.google.common.collect.ImmutableMapEntrySet$RegularEntrySet of com.google.common.collect.ImmutableMapEntrySet
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)