apkfuckery/com.discord/smali/androidx/work/DataKt.smali

89 lines
2.2 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Landroidx/work/DataKt;
.super Ljava/lang/Object;
.source "Data.kt"
# direct methods
2020-09-16 23:45:23 +00:00
.method public static final synthetic hasKeyWithValueOfType(Landroidx/work/Data;Ljava/lang/String;)Z
2020-07-08 16:44:49 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/work/Data;",
"Ljava/lang/String;",
")Z"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "$this$hasKeyWithValueOfType"
2020-07-08 16:44:49 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const-string p0, "key"
2020-10-05 23:18:16 +00:00
invoke-static {p1, p0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {}, Lc0/n/c/j;->reifiedOperationMarker()V
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
const/4 p0, 0x0
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
throw p0
2020-07-08 16:44:49 +00:00
.end method
2020-05-17 12:40:10 +00:00
.method public static final varargs workDataOf([Lkotlin/Pair;)Landroidx/work/Data;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Lkotlin/Pair<",
"Ljava/lang/String;",
"+",
"Ljava/lang/Object;",
">;)",
"Landroidx/work/Data;"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "pairs"
2020-10-05 23:18:16 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
new-instance v0, Landroidx/work/Data$Builder;
invoke-direct {v0}, Landroidx/work/Data$Builder;-><init>()V
array-length v1, p0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_0
aget-object v3, p0, v2
2020-07-08 16:44:49 +00:00
iget-object v4, v3, Lkotlin/Pair;->first:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
check-cast v4, Ljava/lang/String;
2020-07-08 16:44:49 +00:00
iget-object v3, v3, Lkotlin/Pair;->second:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0, v4, v3}, Landroidx/work/Data$Builder;->put(Ljava/lang/String;Ljava/lang/Object;)Landroidx/work/Data$Builder;
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
invoke-virtual {v0}, Landroidx/work/Data$Builder;->build()Landroidx/work/Data;
move-result-object p0
const-string v0, "dataBuilder.build()"
2020-10-05 23:18:16 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
return-object p0
.end method