d.smali

.class public Led/d;
.super Ljava/lang/Object;
.source "RemoteManager.java"


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/lang/Class;)Led/b;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<S:",
            "Ljava/lang/Object;",
            ">(",
            "Landroid/content/Context;",
            "Ljava/lang/Class<",
            "TS;>;)",
            "Led/b;"
        }
    .end annotation

    if-eqz p0, :cond_e

    if-nez p1, :cond_5

    goto :goto_e

    :cond_5
    new-instance v0, Led/b;

    invoke-direct {v0}, Led/b;-><init>()V

    invoke-virtual {v0, p0, p1}, Led/b;->a(Landroid/content/Context;Ljava/lang/Class;)V

    return-object v0

    :cond_e
    :goto_e
    const/4 p0, 0x0

    return-object p0
.end method

.method public static a(Landroid/content/Context;Led/b;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Object;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            "S:TT;>(",
            "Landroid/content/Context;",
            "Led/b;",
            "Ljava/lang/Class<",
            "TT;>;",
            "Ljava/lang/Class<",
            "TS;>;)TT;"
        }
    .end annotation

    if-eqz p1, :cond_22

    if-eqz p2, :cond_22

    if-eqz p3, :cond_22

    if-eqz p0, :cond_22

    :try_start_8
    invoke-virtual {p0}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader;

    move-result-object p0

    const/4 v0, 0x1

    new-array v0, v0, [Ljava/lang/Class;

    const/4 v1, 0x0

    aput-object p2, v0, v1

    new-instance p2, Led/a;

    invoke-direct {p2, p1, p3}, Led/a;-><init>(Led/b;Ljava/lang/Class;)V

    invoke-static {p0, v0, p2}, Ljava/lang/reflect/Proxy;->newProxyInstance(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;

    move-result-object p0
    :try_end_1b
    .catchall {:try_start_8 .. :try_end_1b} :catchall_1c

    return-object p0

    :catchall_1c
    move-exception p0

    invoke-virtual {p0}, Ljava/lang/Throwable;->printStackTrace()V

    const/4 p0, 0x0

    return-object p0

    :cond_22
    new-instance p0, Ljava/lang/IllegalArgumentException;

    const-string p1, "arguments cannot be null!"

    invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p0
.end method