97 lines
1.9 KiB
Smali
97 lines
1.9 KiB
Smali
.class public final Lz/t/l;
|
|
.super Lz/n/c/k;
|
|
.source "Strings.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function2;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lz/n/c/k;",
|
|
"Lkotlin/jvm/functions/Function2<",
|
|
"Ljava/lang/CharSequence;",
|
|
"Ljava/lang/Integer;",
|
|
"Lkotlin/Pair<",
|
|
"+",
|
|
"Ljava/lang/Integer;",
|
|
"+",
|
|
"Ljava/lang/Integer;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $delimiters:[C
|
|
|
|
.field public final synthetic $ignoreCase:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>([CZ)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lz/t/l;->$delimiters:[C
|
|
|
|
iput-boolean p2, p0, Lz/t/l;->$ignoreCase:Z
|
|
|
|
const/4 p1, 0x2
|
|
|
|
invoke-direct {p0, p1}, Lz/n/c/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 2
|
|
|
|
check-cast p1, Ljava/lang/CharSequence;
|
|
|
|
check-cast p2, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
|
|
|
|
move-result p2
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lz/t/l;->$delimiters:[C
|
|
|
|
iget-boolean v1, p0, Lz/t/l;->$ignoreCase:Z
|
|
|
|
invoke-static {p1, v0, p2, v1}, Lz/t/p;->indexOfAny(Ljava/lang/CharSequence;[CIZ)I
|
|
|
|
move-result p1
|
|
|
|
if-gez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 p2, 0x1
|
|
|
|
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p2
|
|
|
|
new-instance v0, Lkotlin/Pair;
|
|
|
|
invoke-direct {v0, p1, p2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
move-object p1, v0
|
|
|
|
:goto_0
|
|
return-object p1
|
|
.end method
|