granularity level: instruction
.class public final synthetic Lr0/d;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Lb1/a;
.field public final synthetic a:I
.field public final synthetic b:Ljava/lang/Object;
.method public synthetic constructor <init>(ILjava/lang/Object;)V
.locals 0
iput p1, p0, Lr0/d;->a:I
iput-object p2, p0, Lr0/d;->b:Ljava/lang/Object;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public final get()Ljava/lang/Object;
.locals 9
iget v0, p0, Lr0/d;->a:I
packed-switch v0, :pswitch_data_0
goto/16 :goto_1
:pswitch_0
iget-object v0, p0, Lr0/d;->b:Ljava/lang/Object;
check-cast v0, Lcom/google/firebase/components/ComponentRegistrar;
return-object v0
:pswitch_1
iget-object v0, p0, Lr0/d;->b:Ljava/lang/Object;
check-cast v0, Ljava/lang/String;
const-string v1, "Could not instantiate %s"
const-string v2, "Could not instantiate %s."
const/4 v3, 0x1
const/4 v4, 0x0
:try_start_0
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v5
const-class v6, Lcom/google/firebase/components/ComponentRegistrar;
invoke-virtual {v6, v5}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result v6
if-eqz v6, :cond_0
new-array v6, v4, [Ljava/lang/Class;
invoke-virtual {v5, v6}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object v5
new-array v6, v4, [Ljava/lang/Object;
invoke-virtual {v5, v6}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lcom/google/firebase/components/ComponentRegistrar;
goto :goto_0
:cond_0
new-instance v5, Lr0/n;
const-string v6, "Class %s is not an instance of %s"
const/4 v7, 0x2
new-array v7, v7, [Ljava/lang/Object;
aput-object v0, v7, v4
const-string v8, "com.google.firebase.components.ComponentRegistrar"
aput-object v8, v7, v3
invoke-static {v6, v7}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v6
invoke-direct {v5, v6}, Lr0/n;-><init>(Ljava/lang/String;)V
throw v5
:try_end_0
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_4
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_3
.catch Ljava/lang/InstantiationException; {:try_start_0 .. :try_end_0} :catch_2
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
move-exception v2
new-instance v5, Lr0/n;
new-array v3, v3, [Ljava/lang/Object;
aput-object v0, v3, v4
invoke-static {v1, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-direct {v5, v0, v2}, Lr0/n;-><init>(Ljava/lang/String;Ljava/lang/ReflectiveOperationException;)V
throw v5
:catch_1
move-exception v2
new-instance v5, Lr0/n;
new-array v3, v3, [Ljava/lang/Object;
aput-object v0, v3, v4
invoke-static {v1, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-direct {v5, v0, v2}, Lr0/n;-><init>(Ljava/lang/String;Ljava/lang/ReflectiveOperationException;)V
throw v5
:catch_2
move-exception v1
new-instance v5, Lr0/n;
new-array v3, v3, [Ljava/lang/Object;
aput-object v0, v3, v4
invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-direct {v5, v0, v1}, Lr0/n;-><init>(Ljava/lang/String;Ljava/lang/ReflectiveOperationException;)V
throw v5
:catch_3
move-exception v1
new-instance v5, Lr0/n;
new-array v3, v3, [Ljava/lang/Object;
aput-object v0, v3, v4
invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-direct {v5, v0, v1}, Lr0/n;-><init>(Ljava/lang/String;Ljava/lang/ReflectiveOperationException;)V
throw v5
:catch_4
new-array v1, v3, [Ljava/lang/Object;
aput-object v0, v1, v4
const-string v0, "Class %s is not an found."
invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
const-string v1, "ComponentDiscovery"
invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
const/4 v5, 0x0
:goto_0
return-object v5
:goto_1
iget-object v0, p0, Lr0/d;->b:Ljava/lang/Object;
check-cast v0, Lp0/g;
sget-object v1, Lc1/d;->m:Ljava/lang/Object;
new-instance v1, Le1/b;
invoke-direct {v1, v0}, Le1/b;-><init>(Lp0/g;)V
return-object v1
nop
:pswitch_data_0
.packed-switch 0x0
:pswitch_1
:pswitch_0
.end packed-switch
.end method