public final class com.google.common.reflect.MutableTypeToInstanceMap<B> extends com.google.common.collect.ForwardingMap<com.google.common.reflect.TypeToken<? extends B>, B> implements com.google.common.reflect.TypeToInstanceMap<B>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.reflect.MutableTypeToInstanceMap
super_class: com.google.common.collect.ForwardingMap
{
private final java.util.Map<com.google.common.reflect.TypeToken<? extends B>, B> backingMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lcom/google/common/reflect/TypeToken<+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 com.google.common.collect.ForwardingMap.<init>:()V
1: aload 0
invokestatic com.google.common.collect.Maps.newHashMap:()Ljava/util/HashMap;
putfield com.google.common.reflect.MutableTypeToInstanceMap.backingMap:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/reflect/MutableTypeToInstanceMap<TB;>;
public <T extends B> T getInstance(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.reflect.TypeToken.of:(Ljava/lang/Class;)Lcom/google/common/reflect/TypeToken;
invokevirtual com.google.common.reflect.MutableTypeToInstanceMap.trustedGet:(Lcom/google/common/reflect/TypeToken;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/MutableTypeToInstanceMap<TB;>;
0 1 1 type Ljava/lang/Class<TT;>;
Signature: <T:TB;>(Ljava/lang/Class<TT;>;)TT;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
type
public <T extends B> T getInstance(com.google.common.reflect.TypeToken<T>);
descriptor: (Lcom/google/common/reflect/TypeToken;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.google.common.reflect.TypeToken.rejectTypeVariables:()Lcom/google/common/reflect/TypeToken;
invokevirtual com.google.common.reflect.MutableTypeToInstanceMap.trustedGet:(Lcom/google/common/reflect/TypeToken;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/MutableTypeToInstanceMap<TB;>;
0 1 1 type Lcom/google/common/reflect/TypeToken<TT;>;
Signature: <T:TB;>(Lcom/google/common/reflect/TypeToken<TT;>;)TT;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
type
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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic com.google.common.reflect.TypeToken.of:(Ljava/lang/Class;)Lcom/google/common/reflect/TypeToken;
aload 2
invokevirtual com.google.common.reflect.MutableTypeToInstanceMap.trustedPut:(Lcom/google/common/reflect/TypeToken;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/reflect/MutableTypeToInstanceMap<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()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
type
value
public <T extends B> T putInstance(com.google.common.reflect.TypeToken<T>, );
descriptor: (Lcom/google/common/reflect/TypeToken;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.google.common.reflect.TypeToken.rejectTypeVariables:()Lcom/google/common/reflect/TypeToken;
aload 2
invokevirtual com.google.common.reflect.MutableTypeToInstanceMap.trustedPut:(Lcom/google/common/reflect/TypeToken;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/reflect/MutableTypeToInstanceMap<TB;>;
0 1 1 type Lcom/google/common/reflect/TypeToken<TT;>;
0 1 2 value TT;
Signature: <T:TB;>(Lcom/google/common/reflect/TypeToken<TT;>;TT;)TT;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
type
value
public B put(com.google.common.reflect.TypeToken<? extends B>, );
descriptor: (Lcom/google/common/reflect/TypeToken;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
ldc "Please use putInstance() instead."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/MutableTypeToInstanceMap<TB;>;
0 1 1 key Lcom/google/common/reflect/TypeToken<+TB;>;
0 1 2 value TB;
Signature: (Lcom/google/common/reflect/TypeToken<+TB;>;TB;)TB;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
value
public void putAll(java.util.Map<? extends com.google.common.reflect.TypeToken<? extends B>, ? extends B>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "Please use putInstance() instead."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/MutableTypeToInstanceMap<TB;>;
0 1 1 map Ljava/util/Map<+Lcom/google/common/reflect/TypeToken<+TB;>;+TB;>;
Signature: (Ljava/util/Map<+Lcom/google/common/reflect/TypeToken<+TB;>;+TB;>;)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
map
public java.util.Set<java.util.Map$Entry<com.google.common.reflect.TypeToken<? extends B>, B>> entrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.google.common.collect.ForwardingMap.entrySet:()Ljava/util/Set;
invokestatic com.google.common.reflect.MutableTypeToInstanceMap$UnmodifiableEntry.transformEntries:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/MutableTypeToInstanceMap<TB;>;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<Lcom/google/common/reflect/TypeToken<+TB;>;TB;>;>;
protected java.util.Map<com.google.common.reflect.TypeToken<? 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.reflect.MutableTypeToInstanceMap.backingMap:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/MutableTypeToInstanceMap<TB;>;
Signature: ()Ljava/util/Map<Lcom/google/common/reflect/TypeToken<+TB;>;TB;>;
private <T extends B> T trustedPut(com.google.common.reflect.TypeToken<T>, );
descriptor: (Lcom/google/common/reflect/TypeToken;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.google.common.reflect.MutableTypeToInstanceMap.backingMap:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.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/reflect/MutableTypeToInstanceMap<TB;>;
0 1 1 type Lcom/google/common/reflect/TypeToken<TT;>;
0 1 2 value TT;
Signature: <T:TB;>(Lcom/google/common/reflect/TypeToken<TT;>;TT;)TT;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
type
value
private <T extends B> T trustedGet(com.google.common.reflect.TypeToken<T>);
descriptor: (Lcom/google/common/reflect/TypeToken;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.reflect.MutableTypeToInstanceMap.backingMap: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/reflect/MutableTypeToInstanceMap<TB;>;
0 1 1 type Lcom/google/common/reflect/TypeToken<TT;>;
Signature: <T:TB;>(Lcom/google/common/reflect/TypeToken<TT;>;)TT;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
type
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.reflect.MutableTypeToInstanceMap.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 com.google.common.reflect.TypeToken
aload 2
checkcast java.lang.Object
invokevirtual com.google.common.reflect.MutableTypeToInstanceMap.put:(Lcom/google/common/reflect/TypeToken;Ljava/lang/Object;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <B:Ljava/lang/Object;>Lcom/google/common/collect/ForwardingMap<Lcom/google/common/reflect/TypeToken<+TB;>;TB;>;Lcom/google/common/reflect/TypeToInstanceMap<TB;>;
SourceFile: "MutableTypeToInstanceMap.java"
NestMembers:
com.google.common.reflect.MutableTypeToInstanceMap$UnmodifiableEntry com.google.common.reflect.MutableTypeToInstanceMap$UnmodifiableEntry$1 com.google.common.reflect.MutableTypeToInstanceMap$UnmodifiableEntry$2
InnerClasses:
private final UnmodifiableEntry = com.google.common.reflect.MutableTypeToInstanceMap$UnmodifiableEntry of com.google.common.reflect.MutableTypeToInstanceMap
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()