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

420 lines
13 KiB
Smali

.class public final Landroidx/room/util/TableInfo;
.super Ljava/lang/Object;
.source "TableInfo.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/room/util/TableInfo$CreatedFrom;,
Landroidx/room/util/TableInfo$Companion;,
Landroidx/room/util/TableInfo$Column;,
Landroidx/room/util/TableInfo$ForeignKey;,
Landroidx/room/util/TableInfo$ForeignKeyWithSequence;,
Landroidx/room/util/TableInfo$Index;
}
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000>\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010$\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\"\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0008\u0008\u0007\u0018\u0000 \u00152\u00020\u0001:\u0006\u0014\u0015\u0016\u0017\u0018\u0019B1\u0008\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00060\u0005\u0012\u000c\u0010\u0007\u001a\u0008\u0012\u0004\u0012\u00020\t0\u0008\u00a2\u0006\u0002\u0010\nBA\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00060\u0005\u0012\u000c\u0010\u0007\u001a\u0008\u0012\u0004\u0012\u00020\t0\u0008\u0012\u0010\u0008\u0002\u0010\u000b\u001a\n\u0012\u0004\u0012\u00020\u000c\u0018\u00010\u0008\u00a2\u0006\u0002\u0010\rJ\u0013\u0010\u000e\u001a\u00020\u000f2\u0008\u0010\u0010\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\u0008\u0010\u0011\u001a\u00020\u0012H\u0016J\u0008\u0010\u0013\u001a\u00020\u0003H\u0016R\u001c\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00060\u00058\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0016\u0010\u0007\u001a\u0008\u0012\u0004\u0012\u00020\t0\u00088\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0018\u0010\u000b\u001a\n\u0012\u0004\u0012\u00020\u000c\u0018\u00010\u00088\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u001a"
}
d2 = {
"Landroidx/room/util/TableInfo;",
"",
"name",
"",
"columns",
"",
"Landroidx/room/util/TableInfo$Column;",
"foreignKeys",
"",
"Landroidx/room/util/TableInfo$ForeignKey;",
"(Ljava/lang/String;Ljava/util/Map;Ljava/util/Set;)V",
"indices",
"Landroidx/room/util/TableInfo$Index;",
"(Ljava/lang/String;Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;)V",
"equals",
"",
"other",
"hashCode",
"",
"toString",
"Column",
"Companion",
"CreatedFrom",
"ForeignKey",
"ForeignKeyWithSequence",
"Index",
"room-runtime_release"
}
k = 0x1
mv = {
0x1,
0x7,
0x1
}
xi = 0x30
.end annotation
# static fields
.field public static final CREATED_FROM_DATABASE:I = 0x2
.field public static final CREATED_FROM_ENTITY:I = 0x1
.field public static final CREATED_FROM_UNKNOWN:I
.field public static final Companion:Landroidx/room/util/TableInfo$Companion;
# instance fields
.field public final columns:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/room/util/TableInfo$Column;",
">;"
}
.end annotation
.end field
.field public final foreignKeys:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Landroidx/room/util/TableInfo$ForeignKey;",
">;"
}
.end annotation
.end field
.field public final indices:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Landroidx/room/util/TableInfo$Index;",
">;"
}
.end annotation
.end field
.field public final name:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Landroidx/room/util/TableInfo$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Landroidx/room/util/TableInfo$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Landroidx/room/util/TableInfo;->Companion:Landroidx/room/util/TableInfo$Companion;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/util/Map;Ljava/util/Set;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/room/util/TableInfo$Column;",
">;",
"Ljava/util/Set<",
"Landroidx/room/util/TableInfo$ForeignKey;",
">;)V"
}
.end annotation
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "columns"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "foreignKeys"
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 71
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
move-result-object v0
invoke-direct {p0, p1, p2, p3, v0}, Landroidx/room/util/TableInfo;-><init>(Ljava/lang/String;Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/room/util/TableInfo$Column;",
">;",
"Ljava/util/Set<",
"Landroidx/room/util/TableInfo$ForeignKey;",
">;",
"Ljava/util/Set<",
"Landroidx/room/util/TableInfo$Index;",
">;)V"
}
.end annotation
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "columns"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "foreignKeys"
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 41
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/room/util/TableInfo;->name:Ljava/lang/String;
iput-object p2, p0, Landroidx/room/util/TableInfo;->columns:Ljava/util/Map;
iput-object p3, p0, Landroidx/room/util/TableInfo;->foreignKeys:Ljava/util/Set;
iput-object p4, p0, Landroidx/room/util/TableInfo;->indices:Ljava/util/Set;
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/String;Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
and-int/lit8 p5, p5, 0x8
if-eqz p5, :cond_0
const/4 p4, 0x0
.line 43
:cond_0
invoke-direct {p0, p1, p2, p3, p4}, Landroidx/room/util/TableInfo;-><init>(Ljava/lang/String;Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;)V
return-void
.end method
.method public static final read(Landroidx/sqlite/db/SupportSQLiteDatabase;Ljava/lang/String;)Landroidx/room/util/TableInfo;
.locals 1
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
sget-object v0, Landroidx/room/util/TableInfo;->Companion:Landroidx/room/util/TableInfo$Companion;
invoke-virtual {v0, p0, p1}, Landroidx/room/util/TableInfo$Companion;->read(Landroidx/sqlite/db/SupportSQLiteDatabase;Ljava/lang/String;)Landroidx/room/util/TableInfo;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
.line 75
:cond_0
instance-of v1, p1, Landroidx/room/util/TableInfo;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
:cond_1
iget-object v1, p0, Landroidx/room/util/TableInfo;->name:Ljava/lang/String;
.line 76
check-cast p1, Landroidx/room/util/TableInfo;
iget-object v3, p1, Landroidx/room/util/TableInfo;->name:Ljava/lang/String;
invoke-static {v1, v3}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_2
return v2
:cond_2
iget-object v1, p0, Landroidx/room/util/TableInfo;->columns:Ljava/util/Map;
.line 77
iget-object v3, p1, Landroidx/room/util/TableInfo;->columns:Ljava/util/Map;
invoke-static {v1, v3}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_3
return v2
:cond_3
iget-object v1, p0, Landroidx/room/util/TableInfo;->foreignKeys:Ljava/util/Set;
.line 80
iget-object v3, p1, Landroidx/room/util/TableInfo;->foreignKeys:Ljava/util/Set;
invoke-static {v1, v3}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_4
return v2
:cond_4
iget-object p0, p0, Landroidx/room/util/TableInfo;->indices:Ljava/util/Set;
if-eqz p0, :cond_6
.line 83
iget-object p1, p1, Landroidx/room/util/TableInfo;->indices:Ljava/util/Set;
if-nez p1, :cond_5
goto :goto_0
.line 87
:cond_5
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
:cond_6
:goto_0
return v0
.end method
.method public hashCode()I
.locals 2
iget-object v0, p0, Landroidx/room/util/TableInfo;->name:Ljava/lang/String;
.line 91
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Landroidx/room/util/TableInfo;->columns:Ljava/util/Map;
.line 92
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-object p0, p0, Landroidx/room/util/TableInfo;->foreignKeys:Ljava/util/Set;
.line 93
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
move-result p0
add-int/2addr v0, p0
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 99
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "TableInfo{name=\'"
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Landroidx/room/util/TableInfo;->name:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, "\', columns="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Landroidx/room/util/TableInfo;->columns:Ljava/util/Map;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ", foreignKeys="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Landroidx/room/util/TableInfo;->foreignKeys:Ljava/util/Set;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ", indices="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object p0, p0, Landroidx/room/util/TableInfo;->indices:Ljava/util/Set;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object p0
const/16 v0, 0x7d
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method