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

222 lines
4.9 KiB
Smali

.class public final Landroidx/room/util/TableInfo$Column$Companion;
.super Ljava/lang/Object;
.source "TableInfo.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/room/util/TableInfo$Column;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTableInfo.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TableInfo.kt\nandroidx/room/util/TableInfo$Column$Companion\n+ 2 _Strings.kt\nkotlin/text/StringsKt___StringsKt\n*L\n1#1,650:1\n1179#2,3:651\n*S KotlinDebug\n*F\n+ 1 TableInfo.kt\nandroidx/room/util/TableInfo$Column$Companion\n*L\n252#1:651,3\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\u0003\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0002J\u001a\u0010\u0007\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0008\u0010\u0008\u001a\u0004\u0018\u00010\u0006H\u0007\u00a8\u0006\t"
}
d2 = {
"Landroidx/room/util/TableInfo$Column$Companion;",
"",
"()V",
"containsSurroundingParenthesis",
"",
"current",
"",
"defaultValueEquals",
"other",
"room-runtime_release"
}
k = 0x1
mv = {
0x1,
0x7,
0x1
}
xi = 0x30
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 220
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Landroidx/room/util/TableInfo$Column$Companion;-><init>()V
return-void
.end method
.method private final containsSurroundingParenthesis(Ljava/lang/String;)Z
.locals 8
.line 248
move-object p0, p1
check-cast p0, Ljava/lang/CharSequence;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
move v0, v1
move v2, v0
move v3, v2
.line 652
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v4
const/4 v5, 0x1
if-ge v0, v4, :cond_4
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v4
add-int/lit8 v6, v3, 0x1
const/16 v7, 0x28
if-nez v3, :cond_1
if-eq v4, v7, :cond_1
return v1
:cond_1
if-ne v4, v7, :cond_2
add-int/lit8 v2, v2, 0x1
goto :goto_1
:cond_2
const/16 v7, 0x29
if-ne v4, v7, :cond_3
add-int/lit8 v2, v2, -0x1
if-nez v2, :cond_3
.line 260
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v4
sub-int/2addr v4, v5
if-eq v3, v4, :cond_3
return v1
:cond_3
:goto_1
add-int/lit8 v0, v0, 0x1
move v3, v6
goto :goto_0
:cond_4
if-nez v2, :cond_5
move v1, v5
:cond_5
return v1
.end method
# virtual methods
.method public final defaultValueEquals(Ljava/lang/String;Ljava/lang/String;)Z
.locals 2
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
const-string v0, "current"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 234
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
const/4 v1, 0x1
if-eqz v0, :cond_0
return v1
.line 236
:cond_0
invoke-direct {p0, p1}, Landroidx/room/util/TableInfo$Column$Companion;->containsSurroundingParenthesis(Ljava/lang/String;)Z
move-result p0
if-eqz p0, :cond_1
.line 237
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result p0
sub-int/2addr p0, v1
invoke-virtual {p1, v1, p0}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object p0
const-string p1, "this as java.lang.String\u2026ing(startIndex, endIndex)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p0, Ljava/lang/CharSequence;
invoke-static {p0}, Lkotlin/text/StringsKt;->trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
invoke-static {p0, p2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p0
return p0
:cond_1
const/4 p0, 0x0
return p0
.end method