apkfuckery/com.discord/smali/androidx/room/RoomOpenHelper$Delegate.smali
2020-08-20 19:28:48 +00:00

98 lines
2.6 KiB
Smali

.class public abstract Landroidx/room/RoomOpenHelper$Delegate;
.super Ljava/lang/Object;
.source "RoomOpenHelper.java"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/room/RoomOpenHelper;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Delegate"
.end annotation
# instance fields
.field public final version:I
# direct methods
.method public constructor <init>(I)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Landroidx/room/RoomOpenHelper$Delegate;->version:I
return-void
.end method
# virtual methods
.method public abstract createAllTables(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
.end method
.method public abstract dropAllTables(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
.end method
.method public abstract onCreate(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
.end method
.method public abstract onOpen(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
.end method
.method public onPostMigrate(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
.locals 0
return-void
.end method
.method public onPreMigrate(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
.locals 0
return-void
.end method
.method public onValidateSchema(Landroidx/sqlite/db/SupportSQLiteDatabase;)Landroidx/room/RoomOpenHelper$ValidationResult;
.locals 2
.param p1 # Landroidx/sqlite/db/SupportSQLiteDatabase;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
invoke-virtual {p0, p1}, Landroidx/room/RoomOpenHelper$Delegate;->validateMigration(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
new-instance p1, Landroidx/room/RoomOpenHelper$ValidationResult;
const/4 v0, 0x1
const/4 v1, 0x0
invoke-direct {p1, v0, v1}, Landroidx/room/RoomOpenHelper$ValidationResult;-><init>(ZLjava/lang/String;)V
return-object p1
.end method
.method public validateMigration(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
.locals 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string/jumbo v0, "validateMigration is deprecated"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method