apkfuckery/com.discord/smali_classes2/kotlin/text/f.smali
2019-02-04 21:08:30 +01:00

144 lines
3.2 KiB
Smali

.class public final Lkotlin/text/f;
.super Ljava/lang/Object;
# instance fields
.field private final range:Lkotlin/ranges/IntRange;
.field private final value:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/lang/String;Lkotlin/ranges/IntRange;)V
.locals 1
const-string v0, "value"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "range"
invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/text/f;->value:Ljava/lang/String;
iput-object p2, p0, Lkotlin/text/f;->range:Lkotlin/ranges/IntRange;
return-void
.end method
# virtual methods
.method public final equals(Ljava/lang/Object;)Z
.locals 2
if-eq p0, p1, :cond_1
instance-of v0, p1, Lkotlin/text/f;
if-eqz v0, :cond_0
check-cast p1, Lkotlin/text/f;
iget-object v0, p0, Lkotlin/text/f;->value:Ljava/lang/String;
iget-object v1, p1, Lkotlin/text/f;->value:Ljava/lang/String;
invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->x(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lkotlin/text/f;->range:Lkotlin/ranges/IntRange;
iget-object p1, p1, Lkotlin/text/f;->range:Lkotlin/ranges/IntRange;
invoke-static {v0, p1}, Lkotlin/jvm/internal/j;->x(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
return p1
:cond_1
:goto_0
const/4 p1, 0x1
return p1
.end method
.method public final hashCode()I
.locals 3
iget-object v0, p0, Lkotlin/text/f;->value:Ljava/lang/String;
const/4 v1, 0x0
if-eqz v0, :cond_0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
mul-int/lit8 v0, v0, 0x1f
iget-object v2, p0, Lkotlin/text/f;->range:Lkotlin/ranges/IntRange;
if-eqz v2, :cond_1
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v1
:cond_1
add-int/2addr v0, v1
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "MatchGroup(value="
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Lkotlin/text/f;->value:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", range="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lkotlin/text/f;->range:Lkotlin/ranges/IntRange;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method