e.smali

.class public final Lsg/bigo/arch/mvvm/e;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lsg/bigo/arch/mvvm/e$a;,
        Lsg/bigo/arch/mvvm/e$b;
    }
.end annotation


# static fields
.field public static final a:Lsg/bigo/arch/mvvm/e;

# The value of this static final field might be set in the static constructor
.field private static final b:Ljava/lang/String; = "[LiveEventBus]"

.field private static final c:Z = false

.field private static final d:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Lsg/bigo/arch/mvvm/e$a<",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field

.field private static e:Z

.field private static f:Z


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

    .line 16
    new-instance v0, Lsg/bigo/arch/mvvm/e;

    invoke-direct {v0}, Lsg/bigo/arch/mvvm/e;-><init>()V

    sput-object v0, Lsg/bigo/arch/mvvm/e;->a:Lsg/bigo/arch/mvvm/e;

    const-string v0, "[LiveEventBus]"

    .line 18
    sput-object v0, Lsg/bigo/arch/mvvm/e;->b:Ljava/lang/String;

    .line 27
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    check-cast v0, Ljava/util/Map;

    sput-object v0, Lsg/bigo/arch/mvvm/e;->d:Ljava/util/Map;

    const/4 v0, 0x1

    .line 28
    sput-boolean v0, Lsg/bigo/arch/mvvm/e;->e:Z

    const/4 v0, 0x0

    .line 29
    sput-boolean v0, Lsg/bigo/arch/mvvm/e;->f:Z

    return-void
.end method

.method private constructor <init>()V
    .registers 1

    .line 16
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static final synthetic a(Lkotlin/f/a/a;)V
    .registers 2

    .line 1054
    sget-boolean v0, Lsg/bigo/arch/mvvm/e;->c:Z

    if-eqz v0, :cond_7

    .line 1055
    invoke-interface {p0}, Lkotlin/f/a/a;->invoke()Ljava/lang/Object;

    :cond_7
    return-void
.end method

.method public static final synthetic a()Z
    .registers 1

    .line 16
    sget-boolean v0, Lsg/bigo/arch/mvvm/e;->e:Z

    return v0
.end method

.method public static final synthetic b()Z
    .registers 1

    .line 16
    sget-boolean v0, Lsg/bigo/arch/mvvm/e;->f:Z

    return v0
.end method

.method public static final synthetic c()Ljava/util/Map;
    .registers 1

    .line 16
    sget-object v0, Lsg/bigo/arch/mvvm/e;->d:Ljava/util/Map;

    return-object v0
.end method

.method public static final synthetic d()Z
    .registers 1

    .line 16
    sget-boolean v0, Lsg/bigo/arch/mvvm/e;->c:Z

    return v0
.end method


# virtual methods
.method public final declared-synchronized a(Ljava/lang/String;)Lsg/bigo/arch/mvvm/f;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/String;",
            ")",
            "Lsg/bigo/arch/mvvm/f<",
            "TT;>;"
        }
    .end annotation

    monitor-enter p0

    :try_start_1
    const-string v0, "key"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 34
    sget-object v0, Lsg/bigo/arch/mvvm/e;->d:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_18

    .line 35
    sget-object v0, Lsg/bigo/arch/mvvm/e;->d:Ljava/util/Map;

    new-instance v1, Lsg/bigo/arch/mvvm/e$a;

    invoke-direct {v1, p1}, Lsg/bigo/arch/mvvm/e$a;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, p1, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 37
    :cond_18
    sget-object v0, Lsg/bigo/arch/mvvm/e;->d:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    if-eqz p1, :cond_24

    check-cast p1, Lsg/bigo/arch/mvvm/f;
    :try_end_22
    .catchall {:try_start_1 .. :try_end_22} :catchall_2c

    monitor-exit p0

    return-object p1

    :cond_24
    :try_start_24
    new-instance p1, Lkotlin/TypeCastException;

    const-string v0, "null cannot be cast to non-null type sg.bigo.arch.mvvm.LiveObservable<T>"

    invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw p1
    :try_end_2c
    .catchall {:try_start_24 .. :try_end_2c} :catchall_2c

    :catchall_2c
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized b(Ljava/lang/String;)Lsg/bigo/arch/mvvm/f;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Lsg/bigo/arch/mvvm/f<",
            "Lsg/bigo/arch/mvvm/a;",
            ">;"
        }
    .end annotation

    monitor-enter p0

    :try_start_1
    const-string v0, "key"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 42
    invoke-virtual {p0, p1}, Lsg/bigo/arch/mvvm/e;->a(Ljava/lang/String;)Lsg/bigo/arch/mvvm/f;

    move-result-object p1
    :try_end_a
    .catchall {:try_start_1 .. :try_end_a} :catchall_c

    monitor-exit p0

    return-object p1

    :catchall_c
    move-exception p1

    monitor-exit p0

    throw p1
.end method