.class public abstract Lcom/google/android/gms/dynamic/RemoteCreator; .super Ljava/lang/Object; .source "com.google.android.gms:play-services-basement@@18.0.0" # annotations .annotation build Lcom/google/android/gms/common/annotation/KeepForSdk; .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/google/android/gms/dynamic/RemoteCreator$RemoteCreatorException; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;" } .end annotation # instance fields .field private final zza:Ljava/lang/String; .field private zzb:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TT;" } .end annotation .end field # direct methods .method public constructor (Ljava/lang/String;)V .locals 0 .param p1 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Lcom/google/android/gms/common/annotation/KeepForSdk; .end annotation invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lcom/google/android/gms/dynamic/RemoteCreator;->zza:Ljava/lang/String; return-void .end method # virtual methods .method public abstract getRemoteCreator(Landroid/os/IBinder;)Ljava/lang/Object; .param p1 # Landroid/os/IBinder; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation build Lcom/google/android/gms/common/annotation/KeepForSdk; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/os/IBinder;", ")TT;" } .end annotation .end method .method public final getRemoteCreatorInstance(Landroid/content/Context;)Ljava/lang/Object; .locals 2 .param p1 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation build Lcom/google/android/gms/common/annotation/KeepForSdk; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/content/Context;", ")TT;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Lcom/google/android/gms/dynamic/RemoteCreator$RemoteCreatorException; } .end annotation .line 1 iget-object v0, p0, Lcom/google/android/gms/dynamic/RemoteCreator;->zzb:Ljava/lang/Object; if-nez v0, :cond_1 invoke-static {p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 2 invoke-static {p1}, Lcom/google/android/gms/common/GooglePlayServicesUtilLight;->getRemoteContext(Landroid/content/Context;)Landroid/content/Context; move-result-object p1 if-eqz p1, :cond_0 .line 3 invoke-virtual {p1}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader; move-result-object p1 :try_start_0 iget-object v0, p0, Lcom/google/android/gms/dynamic/RemoteCreator;->zza:Ljava/lang/String; .line 4 invoke-virtual {p1, v0}, Ljava/lang/ClassLoader;->loadClass(Ljava/lang/String;)Ljava/lang/Class; move-result-object p1 .line 5 invoke-virtual {p1}, Ljava/lang/Class;->newInstance()Ljava/lang/Object; move-result-object p1 check-cast p1, Landroid/os/IBinder; .line 6 invoke-virtual {p0, p1}, Lcom/google/android/gms/dynamic/RemoteCreator;->getRemoteCreator(Landroid/os/IBinder;)Ljava/lang/Object; move-result-object p1 iput-object p1, p0, Lcom/google/android/gms/dynamic/RemoteCreator;->zzb:Ljava/lang/Object; :try_end_0 .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_2 .catch Ljava/lang/InstantiationException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_0 goto :goto_0 :catch_0 move-exception p1 new-instance v0, Lcom/google/android/gms/dynamic/RemoteCreator$RemoteCreatorException; const-string v1, "Could not access creator." .line 7 invoke-direct {v0, v1, p1}, Lcom/google/android/gms/dynamic/RemoteCreator$RemoteCreatorException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v0 :catch_1 move-exception p1 .line 8 new-instance v0, Lcom/google/android/gms/dynamic/RemoteCreator$RemoteCreatorException; const-string v1, "Could not instantiate creator." .line 9 invoke-direct {v0, v1, p1}, Lcom/google/android/gms/dynamic/RemoteCreator$RemoteCreatorException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v0 :catch_2 move-exception p1 .line 10 new-instance v0, Lcom/google/android/gms/dynamic/RemoteCreator$RemoteCreatorException; const-string v1, "Could not load creator class." .line 11 invoke-direct {v0, v1, p1}, Lcom/google/android/gms/dynamic/RemoteCreator$RemoteCreatorException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v0 .line 12 :cond_0 new-instance p1, Lcom/google/android/gms/dynamic/RemoteCreator$RemoteCreatorException; const-string v0, "Could not get remote context." .line 13 invoke-direct {p1, v0}, Lcom/google/android/gms/dynamic/RemoteCreator$RemoteCreatorException;->(Ljava/lang/String;)V throw p1 .line 14 :cond_1 :goto_0 iget-object p1, p0, Lcom/google/android/gms/dynamic/RemoteCreator;->zzb:Ljava/lang/Object; return-object p1 .end method