public final class com.google.common.collect.ImmutableClassToInstanceMap<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.ImmutableClassToInstanceMap
super_class: com.google.common.collect.ForwardingMap
{
private static final com.google.common.collect.ImmutableClassToInstanceMap<java.lang.Object> EMPTY;
descriptor: Lcom/google/common/collect/ImmutableClassToInstanceMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/google/common/collect/ImmutableClassToInstanceMap<Ljava/lang/Object;>;
private final com.google.common.collect.ImmutableMap<java.lang.Class<? extends B>, B> delegate;
descriptor: Lcom/google/common/collect/ImmutableMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/google/common/collect/ImmutableMap<Ljava/lang/Class<+TB;>;TB;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.google.common.collect.ImmutableClassToInstanceMap
dup
invokestatic com.google.common.collect.ImmutableMap.of:()Lcom/google/common/collect/ImmutableMap;
invokespecial com.google.common.collect.ImmutableClassToInstanceMap.<init>:(Lcom/google/common/collect/ImmutableMap;)V
1: putstatic com.google.common.collect.ImmutableClassToInstanceMap.EMPTY:Lcom/google/common/collect/ImmutableClassToInstanceMap;
2: return
LocalVariableTable:
Start End Slot Name Signature
public static <B> com.google.common.collect.ImmutableClassToInstanceMap<B> of();
descriptor: ()Lcom/google/common/collect/ImmutableClassToInstanceMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.collect.ImmutableClassToInstanceMap.EMPTY:Lcom/google/common/collect/ImmutableClassToInstanceMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <B:Ljava/lang/Object;>()Lcom/google/common/collect/ImmutableClassToInstanceMap<TB;>;
public static <B, T extends B> com.google.common.collect.ImmutableClassToInstanceMap<B> of(java.lang.Class<T>, T);
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableClassToInstanceMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 2
start local 2 1: new com.google.common.collect.ImmutableClassToInstanceMap
dup
aload 2
invokespecial com.google.common.collect.ImmutableClassToInstanceMap.<init>:(Lcom/google/common/collect/ImmutableMap;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 type Ljava/lang/Class<TT;>;
0 2 1 value TT;
1 2 2 map Lcom/google/common/collect/ImmutableMap<Ljava/lang/Class<+TB;>;TB;>;
Signature: <B:Ljava/lang/Object;T:TB;>(Ljava/lang/Class<TT;>;TT;)Lcom/google/common/collect/ImmutableClassToInstanceMap<TB;>;
MethodParameters:
Name Flags
type
value
public static <B> com.google.common.collect.ImmutableClassToInstanceMap$Builder<B> builder();
descriptor: ()Lcom/google/common/collect/ImmutableClassToInstanceMap$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.common.collect.ImmutableClassToInstanceMap$Builder
dup
invokespecial com.google.common.collect.ImmutableClassToInstanceMap$Builder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <B:Ljava/lang/Object;>()Lcom/google/common/collect/ImmutableClassToInstanceMap$Builder<TB;>;
public static <B, S extends B> com.google.common.collect.ImmutableClassToInstanceMap<B> copyOf(java.util.Map<? extends java.lang.Class<? extends S>, ? extends S>);
descriptor: (Ljava/util/Map;)Lcom/google/common/collect/ImmutableClassToInstanceMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
instanceof com.google.common.collect.ImmutableClassToInstanceMap
ifeq 3
1: aload 0
checkcast com.google.common.collect.ImmutableClassToInstanceMap
astore 1
start local 1 2: aload 1
areturn
end local 1 3: StackMap locals:
StackMap stack:
new com.google.common.collect.ImmutableClassToInstanceMap$Builder
dup
invokespecial com.google.common.collect.ImmutableClassToInstanceMap$Builder.<init>:()V
aload 0
invokevirtual com.google.common.collect.ImmutableClassToInstanceMap$Builder.putAll:(Ljava/util/Map;)Lcom/google/common/collect/ImmutableClassToInstanceMap$Builder;
invokevirtual com.google.common.collect.ImmutableClassToInstanceMap$Builder.build:()Lcom/google/common/collect/ImmutableClassToInstanceMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 map Ljava/util/Map<+Ljava/lang/Class<+TS;>;+TS;>;
2 3 1 cast Lcom/google/common/collect/ImmutableClassToInstanceMap<TB;>;
Signature: <B:Ljava/lang/Object;S:TB;>(Ljava/util/Map<+Ljava/lang/Class<+TS;>;+TS;>;)Lcom/google/common/collect/ImmutableClassToInstanceMap<TB;>;
MethodParameters:
Name Flags
map
private void <init>(com.google.common.collect.ImmutableMap<java.lang.Class<? extends B>, B>);
descriptor: (Lcom/google/common/collect/ImmutableMap;)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
putfield com.google.common.collect.ImmutableClassToInstanceMap.delegate:Lcom/google/common/collect/ImmutableMap;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ImmutableClassToInstanceMap<TB;>;
0 3 1 delegate Lcom/google/common/collect/ImmutableMap<Ljava/lang/Class<+TB;>;TB;>;
Signature: (Lcom/google/common/collect/ImmutableMap<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.ImmutableClassToInstanceMap.delegate:Lcom/google/common/collect/ImmutableMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableClassToInstanceMap<TB;>;
Signature: ()Ljava/util/Map<Ljava/lang/Class<+TB;>;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
getfield com.google.common.collect.ImmutableClassToInstanceMap.delegate:Lcom/google/common/collect/ImmutableMap;
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.google.common.collect.ImmutableMap.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/ImmutableClassToInstanceMap<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 putInstance(java.lang.Class<T>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableClassToInstanceMap<TB;>;
0 1 1 type Ljava/lang/Class<TT;>;
0 1 2 value TT;
Signature: <T:TB;>(Ljava/lang/Class<TT;>;TT;)TT;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
type
value
java.lang.Object readResolve();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.ImmutableClassToInstanceMap.isEmpty:()Z
ifeq 1
invokestatic com.google.common.collect.ImmutableClassToInstanceMap.of:()Lcom/google/common/collect/ImmutableClassToInstanceMap;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
StackMap locals:
StackMap stack: com.google.common.collect.ImmutableClassToInstanceMap
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ImmutableClassToInstanceMap<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.ImmutableClassToInstanceMap.delegate:()Ljava/util/Map;
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: "ImmutableClassToInstanceMap.java"
NestMembers:
com.google.common.collect.ImmutableClassToInstanceMap$Builder
InnerClasses:
public final Builder = com.google.common.collect.ImmutableClassToInstanceMap$Builder of com.google.common.collect.ImmutableClassToInstanceMap
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()