K.smali

.class Lcom/sandboxol/greendao/c/K;
.super Ljava/lang/Object;
.source "GameDetailDbHelper.java"

# interfaces
.implements Lcom/sandboxol/greendao/e/i;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/greendao/c/M;->a(Lcom/sandboxol/greendao/a/c;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lcom/sandboxol/greendao/e/i<",
        "Ljava/util/List<",
        "Lcom/sandboxol/greendao/entity/Game;",
        ">;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/sandboxol/greendao/a/c;

.field final synthetic b:Lcom/sandboxol/greendao/c/M;


# direct methods
.method constructor <init>(Lcom/sandboxol/greendao/c/M;Lcom/sandboxol/greendao/a/c;)V
    .registers 3

    .line 1
    iput-object p1, p0, Lcom/sandboxol/greendao/c/K;->b:Lcom/sandboxol/greendao/c/M;

    iput-object p2, p0, Lcom/sandboxol/greendao/c/K;->a:Lcom/sandboxol/greendao/a/c;

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

    return-void
.end method


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

    .line 1
    iget-object v0, p0, Lcom/sandboxol/greendao/c/K;->a:Lcom/sandboxol/greendao/a/c;

    invoke-interface {v0, p1}, Lcom/sandboxol/greendao/a/c;->onSuccess(Ljava/lang/Object;)V

    return-void
.end method

.method public onError(Ljava/lang/Throwable;)V
    .registers 4

    .line 1
    iget-object v0, p0, Lcom/sandboxol/greendao/c/K;->a:Lcom/sandboxol/greendao/a/c;

    invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;

    move-result-object p1

    const/4 v1, -0x1

    invoke-interface {v0, v1, p1}, Lcom/sandboxol/greendao/a/c;->onError(ILjava/lang/String;)V

    return-void
.end method

.method public bridge synthetic onExecute()Ljava/lang/Object;
    .registers 2

    .line 1
    invoke-virtual {p0}, Lcom/sandboxol/greendao/c/K;->onExecute()Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method public onExecute()Ljava/util/List;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/sandboxol/greendao/entity/Game;",
            ">;"
        }
    .end annotation

    .line 2
    iget-object v0, p0, Lcom/sandboxol/greendao/c/K;->b:Lcom/sandboxol/greendao/c/M;

    invoke-virtual {v0}, Lcom/sandboxol/greendao/c/M;->getDao()Lcom/sandboxol/greendao/entity/GameDao;

    move-result-object v0

    invoke-virtual {v0}, Lorg/greenrobot/greendao/a;->queryBuilder()Lorg/greenrobot/greendao/d/i;

    move-result-object v0

    sget-object v1, Lcom/sandboxol/greendao/entity/GameDao$Properties;->InsertedGameDetail:Lorg/greenrobot/greendao/f;

    const/4 v2, 0x1

    .line 3
    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-virtual {v1, v3}, Lorg/greenrobot/greendao/f;->a(Ljava/lang/Object;)Lorg/greenrobot/greendao/d/k;

    move-result-object v1

    new-array v3, v2, [Lorg/greenrobot/greendao/d/k;

    sget-object v4, Lcom/sandboxol/greendao/entity/GameDao$Properties;->IsNewEngine:Lorg/greenrobot/greendao/f;

    .line 4
    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v4, v2}, Lorg/greenrobot/greendao/f;->a(Ljava/lang/Object;)Lorg/greenrobot/greendao/d/k;

    move-result-object v2

    const/4 v4, 0x0

    aput-object v2, v3, v4

    .line 5
    invoke-virtual {v0, v1, v3}, Lorg/greenrobot/greendao/d/i;->a(Lorg/greenrobot/greendao/d/k;[Lorg/greenrobot/greendao/d/k;)Lorg/greenrobot/greendao/d/i;

    .line 6
    invoke-virtual {v0}, Lorg/greenrobot/greendao/d/i;->c()Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
    .registers 2

    .line 1
    check-cast p1, Ljava/util/List;

    invoke-virtual {p0, p1}, Lcom/sandboxol/greendao/c/K;->a(Ljava/util/List;)V

    return-void
.end method