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

391 lines
11 KiB
Smali

.class public final Landroidx/room/util/FtsTableInfo;
.super Ljava/lang/Object;
.source "FtsTableInfo.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/room/util/FtsTableInfo$Companion;
}
.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\u0008\u0005\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0003\u0008\u0007\u0018\u0000 \u00102\u00020\u0001:\u0001\u0010B%\u0008\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0007B)\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u0005\u0012\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u0005\u00a2\u0006\u0002\u0010\tJ\u0013\u0010\n\u001a\u00020\u000b2\u0008\u0010\u000c\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\u0008\u0010\r\u001a\u00020\u000eH\u0016J\u0008\u0010\u000f\u001a\u00020\u0003H\u0016R\u0016\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u00058\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0016\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u00058\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0011"
}
d2 = {
"Landroidx/room/util/FtsTableInfo;",
"",
"name",
"",
"columns",
"",
"createSql",
"(Ljava/lang/String;Ljava/util/Set;Ljava/lang/String;)V",
"options",
"(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;)V",
"equals",
"",
"other",
"hashCode",
"",
"toString",
"Companion",
"room-runtime_release"
}
k = 0x1
mv = {
0x1,
0x7,
0x1
}
xi = 0x30
.end annotation
# static fields
.field public static final Companion:Landroidx/room/util/FtsTableInfo$Companion;
.field private static final FTS_OPTIONS:[Ljava/lang/String;
# instance fields
.field public final columns:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public final name:Ljava/lang/String;
.field public final options:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 11
new-instance v0, Landroidx/room/util/FtsTableInfo$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Landroidx/room/util/FtsTableInfo$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Landroidx/room/util/FtsTableInfo;->Companion:Landroidx/room/util/FtsTableInfo$Companion;
const-string v2, "tokenize="
const-string v3, "compress="
const-string v4, "content="
const-string v5, "languageid="
const-string v6, "matchinfo="
const-string v7, "notindexed="
const-string v8, "order="
const-string v9, "prefix="
const-string v10, "uncompress="
.line 77
filled-new-array/range {v2 .. v10}, [Ljava/lang/String;
move-result-object v0
sput-object v0, Landroidx/room/util/FtsTableInfo;->FTS_OPTIONS:[Ljava/lang/String;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/util/Set;Ljava/lang/String;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
")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, "createSql"
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Landroidx/room/util/FtsTableInfo;->Companion:Landroidx/room/util/FtsTableInfo$Companion;
.line 51
invoke-virtual {v0, p3}, Landroidx/room/util/FtsTableInfo$Companion;->parseOptions(Ljava/lang/String;)Ljava/util/Set;
move-result-object p3
invoke-direct {p0, p1, p2, p3}, Landroidx/room/util/FtsTableInfo;-><init>(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;)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, "options"
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 29
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/room/util/FtsTableInfo;->name:Ljava/lang/String;
iput-object p2, p0, Landroidx/room/util/FtsTableInfo;->columns:Ljava/util/Set;
iput-object p3, p0, Landroidx/room/util/FtsTableInfo;->options:Ljava/util/Set;
return-void
.end method
.method public static final synthetic access$getFTS_OPTIONS$cp()[Ljava/lang/String;
.locals 1
sget-object v0, Landroidx/room/util/FtsTableInfo;->FTS_OPTIONS:[Ljava/lang/String;
return-object v0
.end method
.method public static final parseOptions(Ljava/lang/String;)Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;"
}
.end annotation
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
sget-object v0, Landroidx/room/util/FtsTableInfo;->Companion:Landroidx/room/util/FtsTableInfo$Companion;
invoke-virtual {v0, p0}, Landroidx/room/util/FtsTableInfo$Companion;->parseOptions(Ljava/lang/String;)Ljava/util/Set;
move-result-object p0
return-object p0
.end method
.method public static final read(Landroidx/sqlite/db/SupportSQLiteDatabase;Ljava/lang/String;)Landroidx/room/util/FtsTableInfo;
.locals 1
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
sget-object v0, Landroidx/room/util/FtsTableInfo;->Companion:Landroidx/room/util/FtsTableInfo$Companion;
invoke-virtual {v0, p0, p1}, Landroidx/room/util/FtsTableInfo$Companion;->read(Landroidx/sqlite/db/SupportSQLiteDatabase;Ljava/lang/String;)Landroidx/room/util/FtsTableInfo;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 3
if-ne p0, p1, :cond_0
const/4 p0, 0x1
return p0
.line 55
:cond_0
instance-of v0, p1, Landroidx/room/util/FtsTableInfo;
const/4 v1, 0x0
if-nez v0, :cond_1
return v1
:cond_1
iget-object v0, p0, Landroidx/room/util/FtsTableInfo;->name:Ljava/lang/String;
.line 57
check-cast p1, Landroidx/room/util/FtsTableInfo;
iget-object v2, p1, Landroidx/room/util/FtsTableInfo;->name:Ljava/lang/String;
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_2
return v1
:cond_2
iget-object v0, p0, Landroidx/room/util/FtsTableInfo;->columns:Ljava/util/Set;
.line 58
iget-object v2, p1, Landroidx/room/util/FtsTableInfo;->columns:Ljava/util/Set;
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_3
return v1
:cond_3
iget-object p0, p0, Landroidx/room/util/FtsTableInfo;->options:Ljava/util/Set;
.line 59
iget-object p1, p1, Landroidx/room/util/FtsTableInfo;->options:Ljava/util/Set;
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p0
return p0
.end method
.method public hashCode()I
.locals 2
iget-object v0, p0, Landroidx/room/util/FtsTableInfo;->name:Ljava/lang/String;
.line 63
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Landroidx/room/util/FtsTableInfo;->columns:Ljava/util/Set;
.line 64
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/FtsTableInfo;->options:Ljava/util/Set;
.line 65
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 70
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "FtsTableInfo{name=\'"
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Landroidx/room/util/FtsTableInfo;->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/FtsTableInfo;->columns:Ljava/util/Set;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ", options="
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/FtsTableInfo;->options:Ljava/util/Set;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object p0
const-string v0, "\'}"
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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