2022-06-10 21:38:30 +09:00

89 lines
2.1 KiB
Smali

.class public final Lnj/a;
.super Ljava/lang/Object;
.source "RegexExtensions.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u001a\u0017\u0010\u0004\u001a\u0004\u0018\u00010\u0003*\u00020\u00002\u0006\u0010\u0002\u001a\u00020\u0001H\u0087\u0002\u00a8\u0006\u0005"
}
d2 = {
"Lkotlin/text/i;",
"",
"name",
"Lkotlin/text/h;",
"a",
"kotlin-stdlib-jdk8"
}
k = 0x2
mv = {
0x1,
0x4,
0x1
}
pn = "kotlin.text"
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "RegexExtensionsJDK8Kt"
.end annotation
# direct methods
.method public static final a(Lkotlin/text/i;Ljava/lang/String;)Lkotlin/text/h;
.locals 1
.param p0 # Lkotlin/text/i;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation build Lkotlin/SinceKotlin;
version = "1.2"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
const-string v0, "$this$get"
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
instance-of v0, p0, Lkotlin/text/j;
if-nez v0, :cond_0
const/4 p0, 0x0
:cond_0
check-cast p0, Lkotlin/text/j;
if-eqz p0, :cond_1
.line 2
invoke-interface {p0, p1}, Lkotlin/text/j;->get(Ljava/lang/String;)Lkotlin/text/h;
move-result-object p0
return-object p0
.line 3
:cond_1
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Retrieving groups by name is not supported on this platform."
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method