Rabbit-R1/original r1/smali/smali_classes2/androidx/room/migration/MigrationImpl.smali
2024-05-21 17:08:36 -04:00

109 lines
3.6 KiB
Smali

.class final Landroidx/room/migration/MigrationImpl;
.super Landroidx/room/migration/Migration;
.source "Migration.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0008\u0006\u0008\u0002\u0018\u00002\u00020\u0001B)\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0012\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\u00080\u0006\u00a2\u0006\u0002\u0010\tJ\u0010\u0010\u000c\u001a\u00020\u00082\u0006\u0010\r\u001a\u00020\u0007H\u0016R\u001d\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\u00080\u0006\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\n\u0010\u000b\u00a8\u0006\u000e"
}
d2 = {
"Landroidx/room/migration/MigrationImpl;",
"Landroidx/room/migration/Migration;",
"startVersion",
"",
"endVersion",
"migrateCallback",
"Lkotlin/Function1;",
"Landroidx/sqlite/db/SupportSQLiteDatabase;",
"",
"(IILkotlin/jvm/functions/Function1;)V",
"getMigrateCallback",
"()Lkotlin/jvm/functions/Function1;",
"migrate",
"database",
"room-ktx_release"
}
k = 0x1
mv = {
0x1,
0x7,
0x1
}
xi = 0x30
.end annotation
# instance fields
.field private final migrateCallback:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"Landroidx/sqlite/db/SupportSQLiteDatabase;",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(IILkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(II",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroidx/sqlite/db/SupportSQLiteDatabase;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
const-string v0, "migrateCallback"
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 49
invoke-direct {p0, p1, p2}, Landroidx/room/migration/Migration;-><init>(II)V
iput-object p3, p0, Landroidx/room/migration/MigrationImpl;->migrateCallback:Lkotlin/jvm/functions/Function1;
return-void
.end method
# virtual methods
.method public final getMigrateCallback()Lkotlin/jvm/functions/Function1;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function1<",
"Landroidx/sqlite/db/SupportSQLiteDatabase;",
"Lkotlin/Unit;",
">;"
}
.end annotation
iget-object p0, p0, Landroidx/room/migration/MigrationImpl;->migrateCallback:Lkotlin/jvm/functions/Function1;
return-object p0
.end method
.method public migrate(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
.locals 1
const-string v0, "database"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p0, p0, Landroidx/room/migration/MigrationImpl;->migrateCallback:Lkotlin/jvm/functions/Function1;
.line 50
invoke-interface {p0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method