public final class com.google.common.collect.MutableClassToInstanceMap<B> extends com.google.common.collect.ForwardingMap<java.lang.Class<? extends B>, B> implements com.google.common.collect.ClassToInstanceMap<B>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.MutableClassToInstanceMap
super_class: com.google.common.collect.ForwardingMap
{
private final java.util.Map<java.lang.Class<? extends B>, B> delegate;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<+TB;>;TB;>;
public static <B> com.google.common.collect.MutableClassToInstanceMap<B> create();
descriptor: ()Lcom/google/common/collect/MutableClassToInstanceMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new com.google.common.collect.MutableClassToInstanceMap
dup
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokespecial com.google.common.collect.MutableClassToInstanceMap.<init>:(Ljava/util/Map;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <B:Ljava/lang/Object;>()Lcom/google/common/collect/MutableClassToInstanceMap<TB;>;
public static <B> com.google.common.collect.MutableClassToInstanceMap<B> create(java.util.Map<java.lang.Class<? extends B>, B>);
descriptor: (Ljava/util/Map;)Lcom/google/common/collect/MutableClassToInstanceMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.MutableClassToInstanceMap
dup
aload 0
invokespecial com.google.common.collect.MutableClassToInstanceMap.<init>:(Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 backingMap Ljava/util/Map<Ljava/lang/Class<+TB;>;TB;>;
Signature: <B:Ljava/lang/Object;>(Ljava/util/Map<Ljava/lang/Class<+TB;>;TB;>;)Lcom/google/common/collect/MutableClassToInstanceMap<TB;>;
MethodParameters:
Name Flags
backingMap
private void <init>(java.util.Map<java.lang.Class<? extends B>, B>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.collect.ForwardingMap.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
putfield com.google.common.collect.MutableClassToInstanceMap.delegate:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/MutableClassToInstanceMap<TB;>;
0 3 1 delegate Ljava/util/Map<Ljava/lang/Class<+TB;>;TB;>;
Signature: (Ljava/util/Map<Ljava/lang/Class<+TB;>;TB;>;)V
MethodParameters:
Name Flags
delegate
protected java.util.Map<java.lang.Class<? extends B>, B> delegate();
descriptor: ()Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.MutableClassToInstanceMap.delegate:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MutableClassToInstanceMap<TB;>;
Signature: ()Ljava/util/Map<Ljava/lang/Class<+TB;>;TB;>;
private static <B> java.util.Map$Entry<java.lang.Class<? extends B>, B> checkedEntry(java.util.Map$Entry<java.lang.Class<? extends B>, B>);
descriptor: (Ljava/util/Map$Entry;)Ljava/util/Map$Entry;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.MutableClassToInstanceMap$1
dup
aload 0
invokespecial com.google.common.collect.MutableClassToInstanceMap$1.<init>:(Ljava/util/Map$Entry;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 entry Ljava/util/Map$Entry<Ljava/lang/Class<+TB;>;TB;>;
Signature: <B:Ljava/lang/Object;>(Ljava/util/Map$Entry<Ljava/lang/Class<+TB;>;TB;>;)Ljava/util/Map$Entry<Ljava/lang/Class<+TB;>;TB;>;
MethodParameters:
Name Flags
entry final
public java.util.Set<java.util.Map$Entry<java.lang.Class<? extends B>, B>> entrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.MutableClassToInstanceMap$2
dup
aload 0
invokespecial com.google.common.collect.MutableClassToInstanceMap$2.<init>:(Lcom/google/common/collect/MutableClassToInstanceMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MutableClassToInstanceMap<TB;>;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<Ljava/lang/Class<+TB;>;TB;>;>;
public B put(java.lang.Class<? extends B>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
aload 2
invokestatic com.google.common.collect.MutableClassToInstanceMap.cast:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
invokespecial com.google.common.collect.ForwardingMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MutableClassToInstanceMap<TB;>;
0 1 1 key Ljava/lang/Class<+TB;>;
0 1 2 value TB;
Signature: (Ljava/lang/Class<+TB;>;TB;)TB;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
value
public void putAll(java.util.Map<? extends java.lang.Class<? extends B>, ? extends B>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method cast(Class<T>, B) in the type MutableClassToInstanceMap<B> is not applicable for the arguments (capture#9-of ? extends Class<? extends B>, B)\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MutableClassToInstanceMap<TB;>;
Signature: (Ljava/util/Map<+Ljava/lang/Class<+TB;>;+TB;>;)V
MethodParameters:
Name Flags
map
public <T extends B> T putInstance(java.lang.Class<T>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 1
aload 2
invokevirtual com.google.common.collect.MutableClassToInstanceMap.put:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.google.common.collect.MutableClassToInstanceMap.cast:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MutableClassToInstanceMap<TB;>;
0 1 1 type Ljava/lang/Class<TT;>;
0 1 2 value TT;
Signature: <T:TB;>(Ljava/lang/Class<TT;>;TT;)TT;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
type
value
public <T extends B> T getInstance(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 1
invokevirtual com.google.common.collect.MutableClassToInstanceMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.google.common.collect.MutableClassToInstanceMap.cast:(Ljava/lang/Class;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/MutableClassToInstanceMap<TB;>;
0 1 1 type Ljava/lang/Class<TT;>;
Signature: <T:TB;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
type
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;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
type
value
private java.lang.Object writeReplace();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.MutableClassToInstanceMap$SerializedForm
dup
aload 0
invokevirtual com.google.common.collect.MutableClassToInstanceMap.delegate:()Ljava/util/Map;
invokespecial com.google.common.collect.MutableClassToInstanceMap$SerializedForm.<init>:(Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MutableClassToInstanceMap<TB;>;
protected java.lang.Object delegate();
descriptor: ()Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.common.collect.MutableClassToInstanceMap.delegate:()Ljava/util/Map;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object put(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.lang.Class
aload 2
checkcast java.lang.Object
invokevirtual com.google.common.collect.MutableClassToInstanceMap.put:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.util.Map$Entry access$2(java.util.Map$Entry);
descriptor: (Ljava/util/Map$Entry;)Ljava/util/Map$Entry;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokestatic com.google.common.collect.MutableClassToInstanceMap.checkedEntry:(Ljava/util/Map$Entry;)Ljava/util/Map$Entry;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <B:Ljava/lang/Object;>Lcom/google/common/collect/ForwardingMap<Ljava/lang/Class<+TB;>;TB;>;Lcom/google/common/collect/ClassToInstanceMap<TB;>;Ljava/io/Serializable;
SourceFile: "MutableClassToInstanceMap.java"
NestMembers:
com.google.common.collect.MutableClassToInstanceMap$1 com.google.common.collect.MutableClassToInstanceMap$2 com.google.common.collect.MutableClassToInstanceMap$2$1 com.google.common.collect.MutableClassToInstanceMap$SerializedForm
InnerClasses:
com.google.common.collect.MutableClassToInstanceMap$1
com.google.common.collect.MutableClassToInstanceMap$2
private final SerializedForm = com.google.common.collect.MutableClassToInstanceMap$SerializedForm of com.google.common.collect.MutableClassToInstanceMap
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()