320 lines
9.1 KiB
Smali
320 lines
9.1 KiB
Smali
.class public final Lkotlin/text/MatcherMatchResult;
|
|
.super Ljava/lang/Object;
|
|
.source "Regex.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/text/k;
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\r\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0007\n\u0002\u0018\u0002\n\u0002\u0008\u0006\u0008\u0002\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\u0011\u001a\u00020\u000e\u0012\u0006\u0010\u0014\u001a\u00020\u0012\u00a2\u0006\u0004\u0008!\u0010\"J\n\u0010\u0002\u001a\u0004\u0018\u00010\u0001H\u0016R\u001a\u0010\u0008\u001a\u00020\u00038\u0016X\u0096\u0004\u00a2\u0006\u000c\n\u0004\u0008\u0004\u0010\u0005\u001a\u0004\u0008\u0006\u0010\u0007R\u001e\u0010\r\u001a\n\u0012\u0004\u0012\u00020\n\u0018\u00010\t8\u0002@\u0002X\u0082\u000e\u00a2\u0006\u0006\n\u0004\u0008\u000b\u0010\u000cR\u0014\u0010\u0011\u001a\u00020\u000e8\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008\u000f\u0010\u0010R\u0014\u0010\u0014\u001a\u00020\u00128\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008\u0006\u0010\u0013R\u0014\u0010\u0017\u001a\u00020\u00158VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u000f\u0010\u0016R\u0014\u0010\u001a\u001a\u00020\n8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0018\u0010\u0019R\u001a\u0010\u001c\u001a\u0008\u0012\u0004\u0012\u00020\n0\t8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u000b\u0010\u001bR\u0014\u0010 \u001a\u00020\u001d8BX\u0082\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u001e\u0010\u001f\u00a8\u0006#"
|
|
}
|
|
d2 = {
|
|
"Lkotlin/text/MatcherMatchResult;",
|
|
"Lkotlin/text/k;",
|
|
"next",
|
|
"Lkotlin/text/i;",
|
|
"a",
|
|
"Lkotlin/text/i;",
|
|
"d",
|
|
"()Lkotlin/text/i;",
|
|
"groups",
|
|
"",
|
|
"",
|
|
"b",
|
|
"Ljava/util/List;",
|
|
"groupValues_",
|
|
"Ljava/util/regex/Matcher;",
|
|
"c",
|
|
"Ljava/util/regex/Matcher;",
|
|
"matcher",
|
|
"",
|
|
"Ljava/lang/CharSequence;",
|
|
"input",
|
|
"Lkj/k;",
|
|
"()Lkj/k;",
|
|
"range",
|
|
"getValue",
|
|
"()Ljava/lang/String;",
|
|
"value",
|
|
"()Ljava/util/List;",
|
|
"groupValues",
|
|
"Ljava/util/regex/MatchResult;",
|
|
"f",
|
|
"()Ljava/util/regex/MatchResult;",
|
|
"matchResult",
|
|
"<init>",
|
|
"(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x5,
|
|
0x1
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lkotlin/text/i;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public b:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final c:Ljava/util/regex/Matcher;
|
|
|
|
.field public final d:Ljava/lang/CharSequence;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
.param p1 # Ljava/util/regex/Matcher;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/CharSequence;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "matcher"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "input"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lkotlin/text/MatcherMatchResult;->c:Ljava/util/regex/Matcher;
|
|
|
|
iput-object p2, p0, Lkotlin/text/MatcherMatchResult;->d:Ljava/lang/CharSequence;
|
|
|
|
.line 2
|
|
new-instance p1, Lkotlin/text/MatcherMatchResult$groups$1;
|
|
|
|
invoke-direct {p1, p0}, Lkotlin/text/MatcherMatchResult$groups$1;-><init>(Lkotlin/text/MatcherMatchResult;)V
|
|
|
|
iput-object p1, p0, Lkotlin/text/MatcherMatchResult;->a:Lkotlin/text/i;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic e(Lkotlin/text/MatcherMatchResult;)Ljava/util/regex/MatchResult;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlin/text/MatcherMatchResult;->f()Ljava/util/regex/MatchResult;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Lkotlin/text/k$b;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lkotlin/text/k$a;->a(Lkotlin/text/k;)Lkotlin/text/k$b;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public b()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlin/text/MatcherMatchResult;->b:Ljava/util/List;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
new-instance v0, Lkotlin/text/MatcherMatchResult$a;
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/text/MatcherMatchResult$a;-><init>(Lkotlin/text/MatcherMatchResult;)V
|
|
|
|
iput-object v0, p0, Lkotlin/text/MatcherMatchResult;->b:Ljava/util/List;
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v0, p0, Lkotlin/text/MatcherMatchResult;->b:Ljava/util/List;
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public c()Lkj/k;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlin/text/MatcherMatchResult;->f()Ljava/util/regex/MatchResult;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lkotlin/text/RegexKt;->d(Ljava/util/regex/MatchResult;)Lkj/k;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public d()Lkotlin/text/i;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlin/text/MatcherMatchResult;->a:Lkotlin/text/i;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final f()Ljava/util/regex/MatchResult;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlin/text/MatcherMatchResult;->c:Ljava/util/regex/Matcher;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getValue()Ljava/lang/String;
|
|
.locals 2
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlin/text/MatcherMatchResult;->f()Ljava/util/regex/MatchResult;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/regex/MatchResult;->group()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "matchResult.group()"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public next()Lkotlin/text/k;
|
|
.locals 3
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlin/text/MatcherMatchResult;->f()Ljava/util/regex/MatchResult;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/regex/MatchResult;->end()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Lkotlin/text/MatcherMatchResult;->f()Ljava/util/regex/MatchResult;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v1}, Ljava/util/regex/MatchResult;->end()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Lkotlin/text/MatcherMatchResult;->f()Ljava/util/regex/MatchResult;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v2}, Ljava/util/regex/MatchResult;->start()I
|
|
|
|
move-result v2
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
add-int/2addr v0, v1
|
|
|
|
.line 2
|
|
iget-object v1, p0, Lkotlin/text/MatcherMatchResult;->d:Ljava/lang/CharSequence;
|
|
|
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-gt v0, v1, :cond_1
|
|
|
|
iget-object v1, p0, Lkotlin/text/MatcherMatchResult;->c:Ljava/util/regex/Matcher;
|
|
|
|
invoke-virtual {v1}, Ljava/util/regex/Matcher;->pattern()Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, p0, Lkotlin/text/MatcherMatchResult;->d:Ljava/lang/CharSequence;
|
|
|
|
invoke-virtual {v1, v2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "matcher.pattern().matcher(input)"
|
|
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Lkotlin/text/MatcherMatchResult;->d:Ljava/lang/CharSequence;
|
|
|
|
invoke-static {v1, v0, v2}, Lkotlin/text/RegexKt;->a(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Lkotlin/text/k;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
:goto_1
|
|
return-object v0
|
|
.end method
|