2019-07-24 11:27:29 +00:00
|
|
|
.class public final Landroidx/work/DataKt;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Data.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.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
|
|
|
|
|
|
|
|
const-string v0, "pairs"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +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
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v3}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/String;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v3}, Lkotlin/Pair;->getSecond()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +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()"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|