Rabbit-R1/original r1/smali/smali_classes2/androidx/work/OverwritingInputMerger.smali
2024-05-21 17:08:36 -04:00

116 lines
3 KiB
Smali

.class public final Landroidx/work/OverwritingInputMerger;
.super Landroidx/work/InputMerger;
.source "OverwritingInputMerger.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0000\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u0016\u0010\u0003\u001a\u00020\u00042\u000c\u0010\u0005\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0006H\u0016\u00a8\u0006\u0007"
}
d2 = {
"Landroidx/work/OverwritingInputMerger;",
"Landroidx/work/InputMerger;",
"()V",
"merge",
"Landroidx/work/Data;",
"inputs",
"",
"work-runtime_release"
}
k = 0x1
mv = {
0x1,
0x8,
0x0
}
xi = 0x30
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 24
invoke-direct {p0}, Landroidx/work/InputMerger;-><init>()V
return-void
.end method
# virtual methods
.method public merge(Ljava/util/List;)Landroidx/work/Data;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Landroidx/work/Data;",
">;)",
"Landroidx/work/Data;"
}
.end annotation
const-string p0, "inputs"
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 26
new-instance p0, Landroidx/work/Data$Builder;
invoke-direct {p0}, Landroidx/work/Data$Builder;-><init>()V
.line 27
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
check-cast v0, Ljava/util/Map;
.line 28
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroidx/work/Data;
.line 29
invoke-virtual {v1}, Landroidx/work/Data;->getKeyValueMap()Ljava/util/Map;
move-result-object v1
const-string v2, "input.keyValueMap"
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {v0, v1}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
goto :goto_0
.line 31
:cond_0
invoke-virtual {p0, v0}, Landroidx/work/Data$Builder;->putAll(Ljava/util/Map;)Landroidx/work/Data$Builder;
.line 32
invoke-virtual {p0}, Landroidx/work/Data$Builder;->build()Landroidx/work/Data;
move-result-object p0
const-string p1, "output.build()"
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method