apkfuckery/com.discord/smali_classes2/kotlin/text/Regex$b.smali
2019-12-12 09:58:10 +01:00

74 lines
1.6 KiB
Smali

.class public final Lkotlin/text/Regex$b;
.super Ljava/lang/Object;
.source "Regex.kt"
# interfaces
.implements Ljava/io/Serializable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlin/text/Regex;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# static fields
.field public static final serialVersionUID:J
# instance fields
.field public final flags:I
.field public final pattern:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/lang/String;I)V
.locals 0
if-eqz p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/text/Regex$b;->pattern:Ljava/lang/String;
iput p2, p0, Lkotlin/text/Regex$b;->flags:I
return-void
:cond_0
const-string p1, "pattern"
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method private final readResolve()Ljava/lang/Object;
.locals 3
new-instance v0, Lkotlin/text/Regex;
iget-object v1, p0, Lkotlin/text/Regex$b;->pattern:Ljava/lang/String;
iget v2, p0, Lkotlin/text/Regex$b;->flags:I
invoke-static {v1, v2}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern;
move-result-object v1
const-string v2, "Pattern.compile(pattern, flags)"
invoke-static {v1, v2}, Lm/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {v0, v1}, Lkotlin/text/Regex;-><init>(Ljava/util/regex/Pattern;)V
return-object v0
.end method