y.smali
.class public abstract Lcom/sandboxol/greendao/c/y;
.super Ljava/lang/Object;
.source "BaseIDbHelper.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/sandboxol/greendao/c/y$a;
}
.end annotation
# instance fields
.field private dao:Lorg/greenrobot/greendao/a;
.field protected executor:Lcom/sandboxol/greendao/e/h;
.field private isInitOk:Lcom/sandboxol/greendao/c/y$a;
# direct methods
.method public constructor <init>()V
.registers 4
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
new-instance v0, Lcom/sandboxol/greendao/c/y$a;
const/4 v1, 0x1
invoke-direct {v0, p0, v1}, Lcom/sandboxol/greendao/c/y$a;-><init>(Lcom/sandboxol/greendao/c/y;Z)V
iput-object v0, p0, Lcom/sandboxol/greendao/c/y;->isInitOk:Lcom/sandboxol/greendao/c/y$a;
.line 3
invoke-static {}, Lcom/sandboxol/greendao/e/f;->a()Lcom/sandboxol/greendao/e/f;
move-result-object v0
iput-object v0, p0, Lcom/sandboxol/greendao/c/y;->executor:Lcom/sandboxol/greendao/e/h;
.line 4
iget-object v0, p0, Lcom/sandboxol/greendao/c/y;->executor:Lcom/sandboxol/greendao/e/h;
new-instance v1, Lcom/sandboxol/greendao/c/a;
invoke-direct {v1, p0}, Lcom/sandboxol/greendao/c/a;-><init>(Lcom/sandboxol/greendao/c/y;)V
iget-object v2, p0, Lcom/sandboxol/greendao/c/y;->isInitOk:Lcom/sandboxol/greendao/c/y$a;
invoke-interface {v0, v1, v2}, Lcom/sandboxol/greendao/e/h;->a(Ljava/lang/Runnable;Lcom/sandboxol/greendao/c/y$a;)V
return-void
.end method
.method public constructor <init>(Lcom/sandboxol/greendao/e/h;)V
.registers 4
.line 5
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 6
new-instance v0, Lcom/sandboxol/greendao/c/y$a;
const/4 v1, 0x1
invoke-direct {v0, p0, v1}, Lcom/sandboxol/greendao/c/y$a;-><init>(Lcom/sandboxol/greendao/c/y;Z)V
iput-object v0, p0, Lcom/sandboxol/greendao/c/y;->isInitOk:Lcom/sandboxol/greendao/c/y$a;
.line 7
iput-object p1, p0, Lcom/sandboxol/greendao/c/y;->executor:Lcom/sandboxol/greendao/e/h;
.line 8
iget-object p1, p0, Lcom/sandboxol/greendao/c/y;->executor:Lcom/sandboxol/greendao/e/h;
new-instance v0, Lcom/sandboxol/greendao/c/b;
invoke-direct {v0, p0}, Lcom/sandboxol/greendao/c/b;-><init>(Lcom/sandboxol/greendao/c/y;)V
iget-object v1, p0, Lcom/sandboxol/greendao/c/y;->isInitOk:Lcom/sandboxol/greendao/c/y$a;
invoke-interface {p1, v0, v1}, Lcom/sandboxol/greendao/e/h;->a(Ljava/lang/Runnable;Lcom/sandboxol/greendao/c/y$a;)V
return-void
.end method
# virtual methods
.method public synthetic b()V
.registers 3
.line 1
:try_start_0
invoke-static {}, Lcom/sandboxol/greendao/c/A;->d()Lcom/sandboxol/greendao/c/A;
move-result-object v0
invoke-virtual {v0}, Lcom/sandboxol/greendao/c/A;->b()Lcom/sandboxol/greendao/entity/DaoSession;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/sandboxol/greendao/c/y;->init(Lcom/sandboxol/greendao/entity/DaoSession;)Lorg/greenrobot/greendao/a;
move-result-object v0
iput-object v0, p0, Lcom/sandboxol/greendao/c/y;->dao:Lorg/greenrobot/greendao/a;
:try_end_e
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_e} :catch_f
goto :goto_19
:catch_f
move-exception v0
.line 2
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
.line 3
iget-object v0, p0, Lcom/sandboxol/greendao/c/y;->isInitOk:Lcom/sandboxol/greendao/c/y$a;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/c/y$a;->a(Z)V
:goto_19
return-void
.end method
.method public synthetic c()V
.registers 3
.line 1
:try_start_0
invoke-static {}, Lcom/sandboxol/greendao/c/A;->d()Lcom/sandboxol/greendao/c/A;
move-result-object v0
invoke-virtual {v0}, Lcom/sandboxol/greendao/c/A;->b()Lcom/sandboxol/greendao/entity/DaoSession;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/sandboxol/greendao/c/y;->init(Lcom/sandboxol/greendao/entity/DaoSession;)Lorg/greenrobot/greendao/a;
move-result-object v0
iput-object v0, p0, Lcom/sandboxol/greendao/c/y;->dao:Lorg/greenrobot/greendao/a;
:try_end_e
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_e} :catch_f
goto :goto_19
:catch_f
move-exception v0
.line 2
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
.line 3
iget-object v0, p0, Lcom/sandboxol/greendao/c/y;->isInitOk:Lcom/sandboxol/greendao/c/y$a;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/c/y$a;->a(Z)V
:goto_19
return-void
.end method
.method protected getDao()Lorg/greenrobot/greendao/a;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/c/y;->dao:Lorg/greenrobot/greendao/a;
return-object v0
.end method
.method protected abstract init(Lcom/sandboxol/greendao/entity/DaoSession;)Lorg/greenrobot/greendao/a;
.end method
.method protected post(Lcom/sandboxol/greendao/e/g;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/sandboxol/greendao/e/g<",
"TT;>;)V"
}
.end annotation
.line 2
iget-object v0, p0, Lcom/sandboxol/greendao/c/y;->executor:Lcom/sandboxol/greendao/e/h;
iget-object v1, p0, Lcom/sandboxol/greendao/c/y;->isInitOk:Lcom/sandboxol/greendao/c/y$a;
invoke-interface {v0, p1, v1}, Lcom/sandboxol/greendao/e/h;->a(Lcom/sandboxol/greendao/e/g;Lcom/sandboxol/greendao/c/y$a;)V
return-void
.end method
.method protected post(Ljava/lang/Runnable;)V
.registers 4
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/c/y;->executor:Lcom/sandboxol/greendao/e/h;
iget-object v1, p0, Lcom/sandboxol/greendao/c/y;->isInitOk:Lcom/sandboxol/greendao/c/y$a;
invoke-interface {v0, p1, v1}, Lcom/sandboxol/greendao/e/h;->a(Ljava/lang/Runnable;Lcom/sandboxol/greendao/c/y$a;)V
return-void
.end method
.method protected postSync(Lcom/sandboxol/greendao/e/i;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/sandboxol/greendao/e/i<",
"TT;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/c/y;->executor:Lcom/sandboxol/greendao/e/h;
iget-object v1, p0, Lcom/sandboxol/greendao/c/y;->isInitOk:Lcom/sandboxol/greendao/c/y$a;
invoke-interface {v0, p1, v1}, Lcom/sandboxol/greendao/e/h;->a(Lcom/sandboxol/greendao/e/i;Lcom/sandboxol/greendao/c/y$a;)V
return-void
.end method