public final class com.google.common.collect.ImmutableClassToInstanceMap$Builder<B>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.ImmutableClassToInstanceMap$Builder
super_class: java.lang.Object
{
private final com.google.common.collect.ImmutableMap$Builder<java.lang.Class<? extends B>, B> mapBuilder;
descriptor: Lcom/google/common/collect/ImmutableMap$Builder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/google/common/collect/ImmutableMap$Builder<Ljava/lang/Class<+TB;>;TB;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic com.google.common.collect.ImmutableMap.builder:()Lcom/google/common/collect/ImmutableMap$Builder;
putfield com.google.common.collect.ImmutableClassToInstanceMap$Builder.mapBuilder:Lcom/google/common/collect/ImmutableMap$Builder;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ImmutableClassToInstanceMap$Builder<TB;>;
public <T extends B> com.google.common.collect.ImmutableClassToInstanceMap$Builder<B> put(java.lang.Class<T>, T);
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableClassToInstanceMap$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.google.common.collect.ImmutableClassToInstanceMap$Builder.mapBuilder:Lcom/google/common/collect/ImmutableMap$Builder;
aload 1
aload 2
invokevirtual com.google.common.collect.ImmutableMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ImmutableClassToInstanceMap$Builder<TB;>;
0 2 1 key Ljava/lang/Class<TT;>;
0 2 2 value TT;
Signature: <T:TB;>(Ljava/lang/Class<TT;>;TT;)Lcom/google/common/collect/ImmutableClassToInstanceMap$Builder<TB;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
value
public <T extends B> com.google.common.collect.ImmutableClassToInstanceMap$Builder<B> putAll(java.util.Map<? extends java.lang.Class<? extends T>, ? extends T>);
descriptor: (Ljava/util/Map;)Lcom/google/common/collect/ImmutableClassToInstanceMap$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.google.common.collect.ImmutableClassToInstanceMap$Builder java.util.Map top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 2: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Class
astore 4
start local 4 3: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
astore 5
start local 5 4: aload 0
getfield com.google.common.collect.ImmutableClassToInstanceMap$Builder.mapBuilder:Lcom/google/common/collect/ImmutableMap$Builder;
aload 4
aload 4
aload 5
invokestatic com.google.common.collect.ImmutableClassToInstanceMap$Builder.cast:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.google.common.collect.ImmutableMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
pop
end local 5 end local 4 end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/ImmutableClassToInstanceMap$Builder<TB;>;
0 7 1 map Ljava/util/Map<+Ljava/lang/Class<+TT;>;+TT;>;
2 5 2 entry Ljava/util/Map$Entry<+Ljava/lang/Class<+TT;>;+TT;>;
3 5 4 type Ljava/lang/Class<+TT;>;
4 5 5 value TT;
Signature: <T:TB;>(Ljava/util/Map<+Ljava/lang/Class<+TT;>;+TT;>;)Lcom/google/common/collect/ImmutableClassToInstanceMap$Builder<TB;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
map
private static <B, T extends B> T cast(java.lang.Class<T>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.primitives.Primitives.wrap:(Ljava/lang/Class;)Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/Class<TT;>;
0 1 1 value TB;
Signature: <B:Ljava/lang/Object;T:TB;>(Ljava/lang/Class<TT;>;TB;)TT;
MethodParameters:
Name Flags
type
value
public com.google.common.collect.ImmutableClassToInstanceMap<B> build();
descriptor: ()Lcom/google/common/collect/ImmutableClassToInstanceMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ImmutableClassToInstanceMap$Builder.mapBuilder:Lcom/google/common/collect/ImmutableMap$Builder;
invokevirtual com.google.common.collect.ImmutableMap$Builder.build:()Lcom/google/common/collect/ImmutableMap;
astore 1
start local 1 1: aload 1
invokevirtual com.google.common.collect.ImmutableMap.isEmpty:()Z
ifeq 3
2: invokestatic com.google.common.collect.ImmutableClassToInstanceMap.of:()Lcom/google/common/collect/ImmutableClassToInstanceMap;
areturn
3: StackMap locals: com.google.common.collect.ImmutableMap
StackMap stack:
new com.google.common.collect.ImmutableClassToInstanceMap
dup
aload 1
invokespecial com.google.common.collect.ImmutableClassToInstanceMap.<init>:(Lcom/google/common/collect/ImmutableMap;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/ImmutableClassToInstanceMap$Builder<TB;>;
1 4 1 map Lcom/google/common/collect/ImmutableMap<Ljava/lang/Class<+TB;>;TB;>;
Signature: ()Lcom/google/common/collect/ImmutableClassToInstanceMap<TB;>;
}
Signature: <B:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ImmutableClassToInstanceMap.java"
NestHost: com.google.common.collect.ImmutableClassToInstanceMap
InnerClasses:
public final Builder = com.google.common.collect.ImmutableClassToInstanceMap$Builder of com.google.common.collect.ImmutableClassToInstanceMap
public Builder = com.google.common.collect.ImmutableMap$Builder of com.google.common.collect.ImmutableMap
public abstract Entry = java.util.Map$Entry of java.util.Map