92 lines
2.5 KiB
Smali
92 lines
2.5 KiB
Smali
.class public Landroidx/work/impl/model/WorkTagDao_Impl$1;
|
|
.super Landroidx/room/EntityInsertionAdapter;
|
|
.source "WorkTagDao_Impl.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Landroidx/work/impl/model/WorkTagDao_Impl;-><init>(Landroidx/room/RoomDatabase;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/room/EntityInsertionAdapter<",
|
|
"Landroidx/work/impl/model/WorkTag;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Landroidx/work/impl/model/WorkTagDao_Impl;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/work/impl/model/WorkTagDao_Impl;Landroidx/room/RoomDatabase;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/work/impl/model/WorkTagDao_Impl$1;->this$0:Landroidx/work/impl/model/WorkTagDao_Impl;
|
|
|
|
invoke-direct {p0, p2}, Landroidx/room/EntityInsertionAdapter;-><init>(Landroidx/room/RoomDatabase;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bind(Landroidx/sqlite/db/SupportSQLiteStatement;Landroidx/work/impl/model/WorkTag;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p2, Landroidx/work/impl/model/WorkTag;->tag:Ljava/lang/String;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V
|
|
|
|
:goto_0
|
|
iget-object p2, p2, Landroidx/work/impl/model/WorkTag;->workSpecId:Ljava/lang/String;
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-nez p2, :cond_1
|
|
|
|
invoke-interface {p1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-interface {p1, v0, p2}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic bind(Landroidx/sqlite/db/SupportSQLiteStatement;Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
check-cast p2, Landroidx/work/impl/model/WorkTag;
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroidx/work/impl/model/WorkTagDao_Impl$1;->bind(Landroidx/sqlite/db/SupportSQLiteStatement;Landroidx/work/impl/model/WorkTag;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public createQuery()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "INSERT OR IGNORE INTO `WorkTag` (`tag`,`work_spec_id`) VALUES (?,?)"
|
|
|
|
return-object v0
|
|
.end method
|