apkfuckery/com.discord/smali_classes2/kotlin/text/Regex$b.smali
2020-09-09 19:21:20 +00:00

67 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 1
const-string v0, "pattern"
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
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
.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}, Lk0/n/c/i;->checkNotNullExpressionValue(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