apkfuckery/com.discord/smali_classes2/y/a0/d.smali
2020-03-27 23:23:51 +01:00

157 lines
3.1 KiB
Smali

.class public final Ly/a0/d;
.super Ljava/lang/Object;
.source "Regex.kt"
# instance fields
.field public final a:Ljava/lang/String;
.field public final b:Lkotlin/ranges/IntRange;
# direct methods
.method public constructor <init>(Ljava/lang/String;Lkotlin/ranges/IntRange;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Ly/a0/d;->a:Ljava/lang/String;
iput-object p2, p0, Ly/a0/d;->b:Lkotlin/ranges/IntRange;
return-void
:cond_0
const-string p1, "range"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "value"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 2
if-eq p0, p1, :cond_1
instance-of v0, p1, Ly/a0/d;
if-eqz v0, :cond_0
check-cast p1, Ly/a0/d;
iget-object v0, p0, Ly/a0/d;->a:Ljava/lang/String;
iget-object v1, p1, Ly/a0/d;->a:Ljava/lang/String;
invoke-static {v0, v1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Ly/a0/d;->b:Lkotlin/ranges/IntRange;
iget-object p1, p1, Ly/a0/d;->b:Lkotlin/ranges/IntRange;
invoke-static {v0, p1}, Ly/u/b/j;->areEqual(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 hashCode()I
.locals 3
iget-object v0, p0, Ly/a0/d;->a: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, Ly/a0/d;->b:Lkotlin/ranges/IntRange;
if-eqz v2, :cond_1
invoke-virtual {v2}, Lkotlin/ranges/IntRange;->hashCode()I
move-result v1
:cond_1
add-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "MatchGroup(value="
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Ly/a0/d;->a: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, Ly/a0/d;->b: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