class com.google.common.collect.Maps$Accumulator<K extends java.lang.Enum<K>, V>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.collect.Maps$Accumulator
super_class: java.lang.Object
{
private final java.util.function.BinaryOperator<V> mergeFunction;
descriptor: Ljava/util/function/BinaryOperator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/BinaryOperator<TV;>;
private java.util.EnumMap<K, V> map;
descriptor: Ljava/util/EnumMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/EnumMap<TK;TV;>;
void <init>(java.util.function.BinaryOperator<V>);
descriptor: (Ljava/util/function/BinaryOperator;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.google.common.collect.Maps$Accumulator.map:Ljava/util/EnumMap;
2: aload 0
aload 1
putfield com.google.common.collect.Maps$Accumulator.mergeFunction:Ljava/util/function/BinaryOperator;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/Maps$Accumulator<TK;TV;>;
0 4 1 mergeFunction Ljava/util/function/BinaryOperator<TV;>;
Signature: (Ljava/util/function/BinaryOperator<TV;>;)V
MethodParameters:
Name Flags
mergeFunction
void put(K, );
descriptor: (Ljava/lang/Enum;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.google.common.collect.Maps$Accumulator.map:Ljava/util/EnumMap;
ifnonnull 2
1: aload 0
new java.util.EnumMap
dup
aload 1
invokevirtual java.lang.Enum.getDeclaringClass:()Ljava/lang/Class;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
putfield com.google.common.collect.Maps$Accumulator.map:Ljava/util/EnumMap;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.Maps$Accumulator.map:Ljava/util/EnumMap;
aload 1
aload 2
aload 0
getfield com.google.common.collect.Maps$Accumulator.mergeFunction:Ljava/util/function/BinaryOperator;
invokevirtual java.util.EnumMap.merge:(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;
pop
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/Maps$Accumulator<TK;TV;>;
0 4 1 key TK;
0 4 2 value TV;
Signature: (TK;TV;)V
MethodParameters:
Name Flags
key
value
com.google.common.collect.Maps$Accumulator<K, V> combine(com.google.common.collect.Maps$Accumulator<K, V>);
descriptor: (Lcom/google/common/collect/Maps$Accumulator;)Lcom/google/common/collect/Maps$Accumulator;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.Maps$Accumulator.map:Ljava/util/EnumMap;
ifnonnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield com.google.common.collect.Maps$Accumulator.map:Ljava/util/EnumMap;
ifnonnull 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
aload 1
getfield com.google.common.collect.Maps$Accumulator.map:Ljava/util/EnumMap;
aload 0
invokedynamic accept(Lcom/google/common/collect/Maps$Accumulator;)Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
com/google/common/collect/Maps$Accumulator.put(Ljava/lang/Enum;Ljava/lang/Object;)V (5)
(Ljava/lang/Enum;Ljava/lang/Object;)V
invokevirtual java.util.EnumMap.forEach:(Ljava/util/function/BiConsumer;)V
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/Maps$Accumulator<TK;TV;>;
0 6 1 other Lcom/google/common/collect/Maps$Accumulator<TK;TV;>;
Signature: (Lcom/google/common/collect/Maps$Accumulator<TK;TV;>;)Lcom/google/common/collect/Maps$Accumulator<TK;TV;>;
MethodParameters:
Name Flags
other
com.google.common.collect.ImmutableMap<K, V> toImmutableMap();
descriptor: ()Lcom/google/common/collect/ImmutableMap;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Maps$Accumulator.map:Ljava/util/EnumMap;
ifnonnull 1
invokestatic com.google.common.collect.ImmutableMap.of:()Lcom/google/common/collect/ImmutableMap;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.google.common.collect.Maps$Accumulator.map:Ljava/util/EnumMap;
invokestatic com.google.common.collect.ImmutableEnumMap.asImmutable:(Ljava/util/EnumMap;)Lcom/google/common/collect/ImmutableMap;
StackMap locals:
StackMap stack: com.google.common.collect.ImmutableMap
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Maps$Accumulator<TK;TV;>;
Signature: ()Lcom/google/common/collect/ImmutableMap<TK;TV;>;
}
Signature: <K:Ljava/lang/Enum<TK;>;V:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Maps.java"
NestHost: com.google.common.collect.Maps
InnerClasses:
private Accumulator = com.google.common.collect.Maps$Accumulator of com.google.common.collect.Maps
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles