2019-12-21 01:41:59 +00:00
|
|
|
.class public final Lt/a0/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Regex.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/text/MatchResult;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public a:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final b:Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
.field public final c:Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)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
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iput-object p1, p0, Lt/a0/g;->b:Ljava/util/regex/Matcher;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iput-object p2, p0, Lt/a0/g;->c:Ljava/lang/CharSequence;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
new-instance p1, Lt/a0/g$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-direct {p1, p0}, Lt/a0/g$b;-><init>(Lt/a0/g;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "input"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "matcher"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public getGroupValues()Ljava/util/List;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iget-object v0, p0, Lt/a0/g;->a:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
new-instance v0, Lt/a0/g$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-direct {v0, p0}, Lt/a0/g$a;-><init>(Lt/a0/g;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iput-object v0, p0, Lt/a0/g;->a:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-12-21 01:41:59 +00:00
|
|
|
iget-object v0, p0, Lt/a0/g;->a:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_1
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getRange()Lkotlin/ranges/IntRange;
|
|
|
|
.locals 2
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iget-object v0, p0, Lt/a0/g;->b:Ljava/util/regex/Matcher;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/regex/MatchResult;->start()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/regex/MatchResult;->end()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v1, v0}, Lt/x/c;->until(II)Lkotlin/ranges/IntRange;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getValue()Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iget-object v0, p0, Lt/a0/g;->b:Ljava/util/regex/Matcher;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/regex/MatchResult;->group()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "matchResult.group()"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v0, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public next()Lkotlin/text/MatchResult;
|
|
|
|
.locals 4
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iget-object v0, p0, Lt/a0/g;->b:Ljava/util/regex/Matcher;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/regex/MatchResult;->end()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iget-object v1, p0, Lt/a0/g;->b:Ljava/util/regex/Matcher;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/regex/MatchResult;->end()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iget-object v2, p0, Lt/a0/g;->b:Ljava/util/regex/Matcher;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iget-object v1, p0, Lt/a0/g;->c:Ljava/lang/CharSequence;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-gt v0, v1, :cond_2
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iget-object v1, p0, Lt/a0/g;->b:Ljava/util/regex/Matcher;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/util/regex/Matcher;->pattern()Ljava/util/regex/Pattern;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iget-object v3, p0, Lt/a0/g;->c:Ljava/lang/CharSequence;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-string v3, "matcher.pattern().matcher(input)"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v1, v3}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
iget-object v3, p0, Lt/a0/g;->c:Ljava/lang/CharSequence;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Ljava/util/regex/Matcher;->find(I)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2019-12-21 01:41:59 +00:00
|
|
|
new-instance v0, Lt/a0/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-direct {v0, v1, v3}, Lt/a0/g;-><init>(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-object v2, v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_1
|
|
|
|
return-object v2
|
|
|
|
.end method
|