j.smali

.class public final Lcom/garena/android/appkit/eventbus/j;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/garena/android/appkit/eventbus/j$a;
    }
.end annotation


# static fields
.field public static volatile b:Lcom/garena/android/appkit/eventbus/j;


# instance fields
.field public a:Lcom/garena/android/appkit/eventbus/j$a;


# direct methods
.method public constructor <init>()V
    .registers 3

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

    .line 2
    new-instance v0, Lcom/garena/android/appkit/eventbus/j$a;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/garena/android/appkit/eventbus/j$a;-><init>(Landroid/os/Looper;)V

    iput-object v0, p0, Lcom/garena/android/appkit/eventbus/j;->a:Lcom/garena/android/appkit/eventbus/j$a;

    return-void
.end method

.method public static a()Lcom/garena/android/appkit/eventbus/j;
    .registers 2

    .line 1
    sget-object v0, Lcom/garena/android/appkit/eventbus/j;->b:Lcom/garena/android/appkit/eventbus/j;

    if-nez v0, :cond_17

    .line 2
    const-class v0, Lcom/garena/android/appkit/eventbus/j;

    monitor-enter v0

    .line 3
    :try_start_7
    sget-object v1, Lcom/garena/android/appkit/eventbus/j;->b:Lcom/garena/android/appkit/eventbus/j;

    if-nez v1, :cond_12

    .line 4
    new-instance v1, Lcom/garena/android/appkit/eventbus/j;

    invoke-direct {v1}, Lcom/garena/android/appkit/eventbus/j;-><init>()V

    sput-object v1, Lcom/garena/android/appkit/eventbus/j;->b:Lcom/garena/android/appkit/eventbus/j;

    .line 5
    :cond_12
    monitor-exit v0

    goto :goto_17

    :catchall_14
    move-exception v1

    monitor-exit v0
    :try_end_16
    .catchall {:try_start_7 .. :try_end_16} :catchall_14

    throw v1

    .line 6
    :cond_17
    :goto_17
    sget-object v0, Lcom/garena/android/appkit/eventbus/j;->b:Lcom/garena/android/appkit/eventbus/j;

    return-object v0
.end method