.class public Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration$Builder; .super Ljava/lang/Object; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "Builder" .end annotation # instance fields .field mCallback:Landroidx/sqlite/db/SupportSQLiteOpenHelper$Callback; .field mContext:Landroid/content/Context; .field mName:Ljava/lang/String; # direct methods .method constructor (Landroid/content/Context;)V .locals 0 .param p1 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration$Builder;->mContext:Landroid/content/Context; return-void .end method # virtual methods .method public build()Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration; .locals 4 iget-object v0, p0, Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration$Builder;->mCallback:Landroidx/sqlite/db/SupportSQLiteOpenHelper$Callback; if-eqz v0, :cond_1 iget-object v0, p0, Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration$Builder;->mContext:Landroid/content/Context; if-eqz v0, :cond_0 new-instance v0, Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration; iget-object v1, p0, Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration$Builder;->mContext:Landroid/content/Context; iget-object v2, p0, Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration$Builder;->mName:Ljava/lang/String; iget-object v3, p0, Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration$Builder;->mCallback:Landroidx/sqlite/db/SupportSQLiteOpenHelper$Callback; invoke-direct {v0, v1, v2, v3}, Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration;->(Landroid/content/Context;Ljava/lang/String;Landroidx/sqlite/db/SupportSQLiteOpenHelper$Callback;)V return-object v0 :cond_0 new-instance v0, Ljava/lang/IllegalArgumentException; const-string v1, "Must set a non-null context to create the configuration." invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 :cond_1 new-instance v0, Ljava/lang/IllegalArgumentException; const-string v1, "Must set a callback to create the configuration." invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 .end method .method public callback(Landroidx/sqlite/db/SupportSQLiteOpenHelper$Callback;)Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration$Builder; .locals 0 .param p1 # Landroidx/sqlite/db/SupportSQLiteOpenHelper$Callback; .annotation build Landroidx/annotation/NonNull; .end annotation .end param iput-object p1, p0, Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration$Builder;->mCallback:Landroidx/sqlite/db/SupportSQLiteOpenHelper$Callback; return-object p0 .end method .method public name(Ljava/lang/String;)Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration$Builder; .locals 0 .param p1 # Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param iput-object p1, p0, Landroidx/sqlite/db/SupportSQLiteOpenHelper$Configuration$Builder;->mName:Ljava/lang/String; return-object p0 .end method