H.smali
.class public Lcom/sandboxol/greendao/c/H;
.super Lcom/sandboxol/greendao/c/y;
.source "FriendDbHelper.java"
# static fields
.field private static a:Lcom/sandboxol/greendao/c/H;
# instance fields
.field private b:J
# direct methods
.method private constructor <init>()V
.registers 3
.line 1
invoke-direct {p0}, Lcom/sandboxol/greendao/c/y;-><init>()V
const-wide/16 v0, 0x0
.line 2
iput-wide v0, p0, Lcom/sandboxol/greendao/c/H;->b:J
return-void
.end method
.method static synthetic a(Lcom/sandboxol/greendao/c/H;)J
.registers 3
.line 1
iget-wide v0, p0, Lcom/sandboxol/greendao/c/H;->b:J
return-wide v0
.end method
.method private a(JJ)Lcom/sandboxol/greendao/entity/Friend;
.registers 7
.line 6
invoke-virtual {p0}, Lcom/sandboxol/greendao/c/H;->getDao()Lcom/sandboxol/greendao/entity/FriendDao;
move-result-object v0
invoke-virtual {v0}, Lorg/greenrobot/greendao/a;->queryBuilder()Lorg/greenrobot/greendao/d/i;
move-result-object v0
.line 7
sget-object v1, Lcom/sandboxol/greendao/entity/FriendDao$Properties;->LocalUserId:Lorg/greenrobot/greendao/f;
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
invoke-virtual {v1, p1}, Lorg/greenrobot/greendao/f;->a(Ljava/lang/Object;)Lorg/greenrobot/greendao/d/k;
move-result-object p1
sget-object p2, Lcom/sandboxol/greendao/entity/FriendDao$Properties;->UserId:Lorg/greenrobot/greendao/f;
invoke-static {p3, p4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p3
invoke-virtual {p2, p3}, Lorg/greenrobot/greendao/f;->a(Ljava/lang/Object;)Lorg/greenrobot/greendao/d/k;
move-result-object p2
const/4 p3, 0x0
new-array p4, p3, [Lorg/greenrobot/greendao/d/k;
invoke-virtual {v0, p1, p2, p4}, Lorg/greenrobot/greendao/d/i;->a(Lorg/greenrobot/greendao/d/k;Lorg/greenrobot/greendao/d/k;[Lorg/greenrobot/greendao/d/k;)Lorg/greenrobot/greendao/d/k;
move-result-object p1
new-array p2, p3, [Lorg/greenrobot/greendao/d/k;
invoke-virtual {v0, p1, p2}, Lorg/greenrobot/greendao/d/i;->a(Lorg/greenrobot/greendao/d/k;[Lorg/greenrobot/greendao/d/k;)Lorg/greenrobot/greendao/d/i;
.line 8
invoke-virtual {v0}, Lorg/greenrobot/greendao/d/i;->c()Ljava/util/List;
move-result-object p1
if-eqz p1, :cond_3b
.line 9
invoke-interface {p1}, Ljava/util/List;->size()I
move-result p2
if-lez p2, :cond_3b
.line 10
invoke-interface {p1, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/sandboxol/greendao/entity/Friend;
return-object p1
:cond_3b
const/4 p1, 0x0
return-object p1
.end method
.method static synthetic a(Lcom/sandboxol/greendao/c/H;JJ)Lcom/sandboxol/greendao/entity/Friend;
.registers 5
.line 2
invoke-direct {p0, p1, p2, p3, p4}, Lcom/sandboxol/greendao/c/H;->a(JJ)Lcom/sandboxol/greendao/entity/Friend;
move-result-object p0
return-object p0
.end method
.method private b(JJ)V
.registers 7
.line 5
invoke-virtual {p0}, Lcom/sandboxol/greendao/c/H;->getDao()Lcom/sandboxol/greendao/entity/FriendDao;
move-result-object v0
invoke-virtual {v0}, Lorg/greenrobot/greendao/a;->queryBuilder()Lorg/greenrobot/greendao/d/i;
move-result-object v0
.line 6
sget-object v1, Lcom/sandboxol/greendao/entity/FriendDao$Properties;->LocalUserId:Lorg/greenrobot/greendao/f;
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
invoke-virtual {v1, p1}, Lorg/greenrobot/greendao/f;->a(Ljava/lang/Object;)Lorg/greenrobot/greendao/d/k;
move-result-object p1
sget-object p2, Lcom/sandboxol/greendao/entity/FriendDao$Properties;->UserId:Lorg/greenrobot/greendao/f;
invoke-static {p3, p4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p3
invoke-virtual {p2, p3}, Lorg/greenrobot/greendao/f;->a(Ljava/lang/Object;)Lorg/greenrobot/greendao/d/k;
move-result-object p2
const/4 p3, 0x0
new-array p4, p3, [Lorg/greenrobot/greendao/d/k;
invoke-virtual {v0, p1, p2, p4}, Lorg/greenrobot/greendao/d/i;->a(Lorg/greenrobot/greendao/d/k;Lorg/greenrobot/greendao/d/k;[Lorg/greenrobot/greendao/d/k;)Lorg/greenrobot/greendao/d/k;
move-result-object p1
new-array p2, p3, [Lorg/greenrobot/greendao/d/k;
invoke-virtual {v0, p1, p2}, Lorg/greenrobot/greendao/d/i;->a(Lorg/greenrobot/greendao/d/k;[Lorg/greenrobot/greendao/d/k;)Lorg/greenrobot/greendao/d/i;
.line 7
invoke-virtual {v0}, Lorg/greenrobot/greendao/d/i;->b()Lorg/greenrobot/greendao/d/e;
move-result-object p1
invoke-virtual {p1}, Lorg/greenrobot/greendao/d/e;->b()V
return-void
.end method
.method public static declared-synchronized newInstance()Lcom/sandboxol/greendao/c/H;
.registers 2
const-class v0, Lcom/sandboxol/greendao/c/H;
monitor-enter v0
.line 1
:try_start_3
sget-object v1, Lcom/sandboxol/greendao/c/H;->a:Lcom/sandboxol/greendao/c/H;
if-nez v1, :cond_e
.line 2
new-instance v1, Lcom/sandboxol/greendao/c/H;
invoke-direct {v1}, Lcom/sandboxol/greendao/c/H;-><init>()V
sput-object v1, Lcom/sandboxol/greendao/c/H;->a:Lcom/sandboxol/greendao/c/H;
.line 3
:cond_e
sget-object v1, Lcom/sandboxol/greendao/c/H;->a:Lcom/sandboxol/greendao/c/H;
: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 a(JLcom/sandboxol/greendao/a/c;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(J",
"Lcom/sandboxol/greendao/a/c<",
"Lcom/sandboxol/greendao/entity/Friend;",
">;)V"
}
.end annotation
.line 5
new-instance v0, Lcom/sandboxol/greendao/c/G;
invoke-direct {v0, p0, p1, p2, p3}, Lcom/sandboxol/greendao/c/G;-><init>(Lcom/sandboxol/greendao/c/H;JLcom/sandboxol/greendao/a/c;)V
invoke-virtual {p0, v0}, Lcom/sandboxol/greendao/c/y;->post(Lcom/sandboxol/greendao/e/g;)V
return-void
.end method
.method public a(JLjava/lang/String;Lcom/sandboxol/greendao/a/c;)V
.registers 12
.annotation system Ldalvik/annotation/Signature;
value = {
"(J",
"Ljava/lang/String;",
"Lcom/sandboxol/greendao/a/c<",
"Lcom/sandboxol/greendao/entity/Friend;",
">;)V"
}
.end annotation
.line 4
new-instance v6, Lcom/sandboxol/greendao/c/F;
move-object v0, v6
move-object v1, p0
move-wide v2, p1
move-object v4, p3
move-object v5, p4
invoke-direct/range {v0 .. v5}, Lcom/sandboxol/greendao/c/F;-><init>(Lcom/sandboxol/greendao/c/H;JLjava/lang/String;Lcom/sandboxol/greendao/a/c;)V
invoke-virtual {p0, v6}, Lcom/sandboxol/greendao/c/y;->post(Lcom/sandboxol/greendao/e/g;)V
return-void
.end method
.method public a(Lcom/sandboxol/greendao/entity/Friend;Lcom/sandboxol/greendao/a/c;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/sandboxol/greendao/entity/Friend;",
"Lcom/sandboxol/greendao/a/c<",
"Lcom/sandboxol/greendao/entity/Friend;",
">;)V"
}
.end annotation
.line 3
new-instance v0, Lcom/sandboxol/greendao/c/E;
invoke-direct {v0, p0, p1, p2}, Lcom/sandboxol/greendao/c/E;-><init>(Lcom/sandboxol/greendao/c/H;Lcom/sandboxol/greendao/entity/Friend;Lcom/sandboxol/greendao/a/c;)V
invoke-virtual {p0, v0}, Lcom/sandboxol/greendao/c/y;->post(Lcom/sandboxol/greendao/e/g;)V
return-void
.end method
.method public b(J)Lcom/sandboxol/greendao/entity/Friend;
.registers 6
const/4 v0, 0x0
.line 2
:try_start_1
invoke-virtual {p0}, Lcom/sandboxol/greendao/c/H;->getDao()Lcom/sandboxol/greendao/entity/FriendDao;
move-result-object v1
if-nez v1, :cond_8
return-object v0
.line 3
:cond_8
invoke-virtual {p0}, Lcom/sandboxol/greendao/c/H;->getDao()Lcom/sandboxol/greendao/entity/FriendDao;
move-result-object v1
if-eqz v1, :cond_14
iget-wide v1, p0, Lcom/sandboxol/greendao/c/H;->b:J
invoke-direct {p0, v1, v2, p1, p2}, Lcom/sandboxol/greendao/c/H;->a(JJ)Lcom/sandboxol/greendao/entity/Friend;
move-result-object v0
:try_end_14
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_14} :catch_15
:cond_14
return-object v0
:catch_15
move-exception p1
.line 4
invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V
return-object v0
.end method
.method public b(Lcom/sandboxol/greendao/entity/Friend;)V
.registers 3
const/4 v0, 0x0
.line 1
invoke-virtual {p0, p1, v0}, Lcom/sandboxol/greendao/c/H;->a(Lcom/sandboxol/greendao/entity/Friend;Lcom/sandboxol/greendao/a/c;)V
return-void
.end method
.method public synthetic c(J)V
.registers 5
.line 1
:try_start_0
iget-wide v0, p0, Lcom/sandboxol/greendao/c/H;->b:J
invoke-direct {p0, v0, v1, p1, p2}, Lcom/sandboxol/greendao/c/H;->b(JJ)V
:try_end_5
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_5} :catch_6
goto :goto_a
:catch_6
move-exception p1
.line 2
invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V
:goto_a
return-void
.end method
.method public d(J)V
.registers 4
.line 1
new-instance v0, Lcom/sandboxol/greendao/c/c;
invoke-direct {v0, p0, p1, p2}, Lcom/sandboxol/greendao/c/c;-><init>(Lcom/sandboxol/greendao/c/H;J)V
invoke-virtual {p0, v0}, Lcom/sandboxol/greendao/c/y;->post(Ljava/lang/Runnable;)V
return-void
.end method
.method public e(J)V
.registers 3
.line 1
iput-wide p1, p0, Lcom/sandboxol/greendao/c/H;->b:J
return-void
.end method
.method protected getDao()Lcom/sandboxol/greendao/entity/FriendDao;
.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/FriendDao;
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/H;->getDao()Lcom/sandboxol/greendao/entity/FriendDao;
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;->getFriendDao()Lcom/sandboxol/greendao/entity/FriendDao;
move-result-object p1
return-object p1
.end method