2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/google/firebase/components/f;
|
|
|
|
.super Ljava/lang/Object;
|
2019-10-07 23:23:22 +00:00
|
|
|
.source "com.google.firebase:firebase-common@@19.0.0"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/google/firebase/components/f$a;,
|
|
|
|
Lcom/google/firebase/components/f$b;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public final aQo:Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-08-14 23:59:34 +00:00
|
|
|
"TT;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public final aQp:Lcom/google/firebase/components/f$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-08-14 23:59:34 +00:00
|
|
|
"Lcom/google/firebase/components/f$b<",
|
|
|
|
"TT;>;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/lang/Object;Lcom/google/firebase/components/f$b;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(TT;",
|
|
|
|
"Lcom/google/firebase/components/f$b<",
|
|
|
|
"TT;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-object p1, p0, Lcom/google/firebase/components/f;->aQo:Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-object p2, p0, Lcom/google/firebase/components/f;->aQp:Lcom/google/firebase/components/f$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
.method public static Q(Ljava/util/List;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 10
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lcom/google/firebase/components/h;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "Could not instantiate %s"
|
|
|
|
|
|
|
|
const-string v1, "Could not instantiate %s."
|
|
|
|
|
|
|
|
const-string v2, "ComponentDiscovery"
|
|
|
|
|
|
|
|
new-instance v3, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-static {v4}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-class v8, Lcom/google/firebase/components/h;
|
|
|
|
|
|
|
|
invoke-virtual {v8, v7}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_0
|
|
|
|
|
|
|
|
const-string v7, "Class %s is not an instance of %s"
|
|
|
|
|
|
|
|
const/4 v8, 0x2
|
|
|
|
|
|
|
|
new-array v8, v8, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v4, v8, v6
|
|
|
|
|
|
|
|
const-string v9, "com.google.firebase.components.ComponentRegistrar"
|
|
|
|
|
|
|
|
aput-object v9, v8, v5
|
|
|
|
|
|
|
|
invoke-static {v7, v8}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
invoke-static {v2, v7}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-array v8, v6, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
new-array v8, v6, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
check-cast v7, Lcom/google/firebase/components/h;
|
|
|
|
|
|
|
|
invoke-interface {v3, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
: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
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v7
|
|
|
|
|
|
|
|
new-array v5, v5, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v4, v5, v6
|
|
|
|
|
|
|
|
invoke-static {v0, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-static {v2, v4, v7}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception v7
|
|
|
|
|
|
|
|
new-array v5, v5, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v4, v5, v6
|
|
|
|
|
|
|
|
invoke-static {v0, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-static {v2, v4, v7}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_2
|
|
|
|
move-exception v7
|
|
|
|
|
|
|
|
new-array v5, v5, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v4, v5, v6
|
|
|
|
|
|
|
|
invoke-static {v1, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-static {v2, v4, v7}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_3
|
|
|
|
move-exception v7
|
|
|
|
|
|
|
|
new-array v5, v5, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v4, v5, v6
|
|
|
|
|
|
|
|
invoke-static {v1, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-static {v2, v4, v7}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_4
|
|
|
|
move-exception v7
|
|
|
|
|
|
|
|
new-array v5, v5, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v4, v5, v6
|
|
|
|
|
|
|
|
const-string v4, "Class %s is not an found."
|
|
|
|
|
|
|
|
invoke-static {v4, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-static {v2, v4, v7}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return-object v3
|
|
|
|
.end method
|