.class Landroidx/work/impl/model/PreferenceDao_Impl$1; .super Landroidx/room/EntityInsertionAdapter; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Landroidx/work/impl/model/PreferenceDao_Impl;->(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/Preference;", ">;" } .end annotation # instance fields .field final synthetic this$0:Landroidx/work/impl/model/PreferenceDao_Impl; # direct methods .method public constructor (Landroidx/work/impl/model/PreferenceDao_Impl;Landroidx/room/RoomDatabase;)V .locals 0 iput-object p1, p0, Landroidx/work/impl/model/PreferenceDao_Impl$1;->this$0:Landroidx/work/impl/model/PreferenceDao_Impl; .line 32 invoke-direct {p0, p2}, Landroidx/room/EntityInsertionAdapter;->(Landroidx/room/RoomDatabase;)V return-void .end method # virtual methods .method public bind(Landroidx/sqlite/db/SupportSQLiteStatement;Landroidx/work/impl/model/Preference;)V .locals 4 .param p1 # Landroidx/sqlite/db/SupportSQLiteStatement; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroidx/work/impl/model/Preference; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .line 42 invoke-virtual {p2}, Landroidx/work/impl/model/Preference;->getKey()Ljava/lang/String; move-result-object v0 const/4 v1, 0x1 invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V .line 43 invoke-virtual {p2}, Landroidx/work/impl/model/Preference;->getValue()Ljava/lang/Long; move-result-object v0 const/4 v1, 0x2 if-nez v0, :cond_0 .line 44 invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V goto :goto_0 .line 46 :cond_0 invoke-virtual {p2}, Landroidx/work/impl/model/Preference;->getValue()Ljava/lang/Long; move-result-object p2 invoke-virtual {p2}, Ljava/lang/Long;->longValue()J move-result-wide v2 invoke-interface {p1, v1, v2, v3}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindLong(IJ)V :goto_0 return-void .end method .method public bridge synthetic bind(Landroidx/sqlite/db/SupportSQLiteStatement;Ljava/lang/Object;)V .locals 0 .param p1 # Landroidx/sqlite/db/SupportSQLiteStatement; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Ljava/lang/Object; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .line 32 check-cast p2, Landroidx/work/impl/model/Preference; invoke-virtual {p0, p1, p2}, Landroidx/work/impl/model/PreferenceDao_Impl$1;->bind(Landroidx/sqlite/db/SupportSQLiteStatement;Landroidx/work/impl/model/Preference;)V return-void .end method .method public createQuery()Ljava/lang/String; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation const-string v0, "INSERT OR REPLACE INTO `Preference` (`key`,`long_value`) VALUES (?,?)" return-object v0 .end method