50 lines
1.1 KiB
Smali
50 lines
1.1 KiB
Smali
.class public final Lkotlin/text/j;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method static final a(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Lkotlin/text/MatchResult;
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p1}, Ljava/util/regex/Matcher;->find(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p1, Lkotlin/text/i;
|
|
|
|
invoke-direct {p1, p0, p2}, Lkotlin/text/i;-><init>(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V
|
|
|
|
check-cast p1, Lkotlin/text/MatchResult;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method static final a(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)Lkotlin/text/MatchResult;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance v0, Lkotlin/text/i;
|
|
|
|
invoke-direct {v0, p0, p1}, Lkotlin/text/i;-><init>(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V
|
|
|
|
check-cast v0, Lkotlin/text/MatchResult;
|
|
|
|
return-object v0
|
|
.end method
|