Y.smali

.class public Lcom/sandboxol/greendao/c/Y;
.super Lcom/sandboxol/greendao/c/y;
.source "ScrapDbHelper.java"


# static fields
.field private static a:Lcom/sandboxol/greendao/c/Y;


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

    .line 1
    invoke-direct {p0}, Lcom/sandboxol/greendao/c/y;-><init>()V

    return-void
.end method

.method public static declared-synchronized newInstance()Lcom/sandboxol/greendao/c/Y;
    .registers 2

    const-class v0, Lcom/sandboxol/greendao/c/Y;

    monitor-enter v0

    .line 1
    :try_start_3
    sget-object v1, Lcom/sandboxol/greendao/c/Y;->a:Lcom/sandboxol/greendao/c/Y;

    if-nez v1, :cond_e

    .line 2
    new-instance v1, Lcom/sandboxol/greendao/c/Y;

    invoke-direct {v1}, Lcom/sandboxol/greendao/c/Y;-><init>()V

    sput-object v1, Lcom/sandboxol/greendao/c/Y;->a:Lcom/sandboxol/greendao/c/Y;

    .line 3
    :cond_e
    sget-object v1, Lcom/sandboxol/greendao/c/Y;->a:Lcom/sandboxol/greendao/c/Y;
    :try_end_10
    .catchall {:try_start_3 .. :try_end_10} :catchall_12

    monitor-exit v0

    return-object v1

    :catchall_12
    move-exception v1

    monitor-exit v0

    throw v1
.end method


# virtual methods
.method public b(Ljava/util/List;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/sandboxol/greendao/entity/ScrapTreasureRewardInfo;",
            ">;)V"
        }
    .end annotation

    .line 1
    new-instance v0, Lcom/sandboxol/greendao/c/n;

    invoke-direct {v0, p0, p1}, Lcom/sandboxol/greendao/c/n;-><init>(Lcom/sandboxol/greendao/c/Y;Ljava/util/List;)V

    invoke-virtual {p0, v0}, Lcom/sandboxol/greendao/c/y;->post(Ljava/lang/Runnable;)V

    return-void
.end method

.method public synthetic c(Ljava/util/List;)V
    .registers 3

    .line 1
    invoke-virtual {p0}, Lcom/sandboxol/greendao/c/Y;->getDao()Lcom/sandboxol/greendao/entity/ScrapTreasureRewardInfoDao;

    move-result-object v0

    invoke-virtual {v0, p1}, Lorg/greenrobot/greendao/a;->insertOrReplaceInTx(Ljava/lang/Iterable;)V

    return-void
.end method

.method public synthetic d()V
    .registers 2

    .line 1
    :try_start_0
    invoke-virtual {p0}, Lcom/sandboxol/greendao/c/Y;->getDao()Lcom/sandboxol/greendao/entity/ScrapTreasureRewardInfoDao;

    move-result-object v0

    invoke-virtual {v0}, Lorg/greenrobot/greendao/a;->deleteAll()V
    :try_end_7
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_7} :catch_7

    :catch_7
    return-void
.end method

.method public e()V
    .registers 2

    .line 1
    new-instance v0, Lcom/sandboxol/greendao/c/m;

    invoke-direct {v0, p0}, Lcom/sandboxol/greendao/c/m;-><init>(Lcom/sandboxol/greendao/c/Y;)V

    invoke-virtual {p0, v0}, Lcom/sandboxol/greendao/c/y;->post(Ljava/lang/Runnable;)V

    return-void
.end method

.method protected getDao()Lcom/sandboxol/greendao/entity/ScrapTreasureRewardInfoDao;
    .registers 2

    .line 2
    invoke-super {p0}, Lcom/sandboxol/greendao/c/y;->getDao()Lorg/greenrobot/greendao/a;

    move-result-object v0

    check-cast v0, Lcom/sandboxol/greendao/entity/ScrapTreasureRewardInfoDao;

    return-object v0
.end method

.method protected bridge synthetic getDao()Lorg/greenrobot/greendao/a;
    .registers 2

    .line 1
    invoke-virtual {p0}, Lcom/sandboxol/greendao/c/Y;->getDao()Lcom/sandboxol/greendao/entity/ScrapTreasureRewardInfoDao;

    move-result-object v0

    return-object v0
.end method

.method protected init(Lcom/sandboxol/greendao/entity/DaoSession;)Lorg/greenrobot/greendao/a;
    .registers 2

    .line 1
    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/DaoSession;->getScrapTreasureRewardInfoDao()Lcom/sandboxol/greendao/entity/ScrapTreasureRewardInfoDao;

    move-result-object p1

    return-object p1
.end method