.class public final Landroidx/work/OneTimeWorkRequest$Companion; .super Ljava/lang/Object; .source "OneTimeWorkRequest.kt" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/work/OneTimeWorkRequest; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "Companion" .end annotation .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nOneTimeWorkRequest.kt\nKotlin\n*S Kotlin\n*F\n+ 1 OneTimeWorkRequest.kt\nandroidx/work/OneTimeWorkRequest$Companion\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,109:1\n1549#2:110\n1620#2,3:111\n*S KotlinDebug\n*F\n+ 1 OneTimeWorkRequest.kt\nandroidx/work/OneTimeWorkRequest$Companion\n*L\n91#1:110\n91#1:111,3\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0008\u0002\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0018\u0010\u0003\u001a\u00020\u00042\u000e\u0010\u0005\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00070\u0006H\u0007J$\u0010\u0003\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u00082\u0014\u0010\t\u001a\u0010\u0012\u000c\u0012\n\u0012\u0006\u0008\u0001\u0012\u00020\u00070\u00060\u0008H\u0007\u00a8\u0006\n" } d2 = { "Landroidx/work/OneTimeWorkRequest$Companion;", "", "()V", "from", "Landroidx/work/OneTimeWorkRequest;", "workerClass", "Ljava/lang/Class;", "Landroidx/work/ListenableWorker;", "", "workerClasses", "work-runtime_release" } k = 0x1 mv = { 0x1, 0x8, 0x0 } xi = 0x30 .end annotation # direct methods .method private constructor ()V .locals 0 .line 69 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public synthetic constructor (Lkotlin/jvm/internal/DefaultConstructorMarker;)V .locals 0 invoke-direct {p0}, Landroidx/work/OneTimeWorkRequest$Companion;->()V return-void .end method # virtual methods .method public final from(Ljava/lang/Class;)Landroidx/work/OneTimeWorkRequest; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "+", "Landroidx/work/ListenableWorker;", ">;)", "Landroidx/work/OneTimeWorkRequest;" } .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string p0, "workerClass" invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 79 new-instance p0, Landroidx/work/OneTimeWorkRequest$Builder; invoke-direct {p0, p1}, Landroidx/work/OneTimeWorkRequest$Builder;->(Ljava/lang/Class;)V invoke-virtual {p0}, Landroidx/work/OneTimeWorkRequest$Builder;->build()Landroidx/work/WorkRequest; move-result-object p0 check-cast p0, Landroidx/work/OneTimeWorkRequest; return-object p0 .end method .method public final from(Ljava/util/List;)Ljava/util/List; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "+", "Ljava/lang/Class<", "+", "Landroidx/work/ListenableWorker;", ">;>;)", "Ljava/util/List<", "Landroidx/work/OneTimeWorkRequest;", ">;" } .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string p0, "workerClasses" invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 91 check-cast p1, Ljava/lang/Iterable; .line 110 new-instance p0, Ljava/util/ArrayList; const/16 v0, 0xa invoke-static {p1, v0}, Lkotlin/collections/CollectionsKt;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I move-result v0 invoke-direct {p0, v0}, Ljava/util/ArrayList;->(I)V check-cast p0, Ljava/util/Collection; .line 111 invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p1 :goto_0 invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_0 invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 .line 112 check-cast v0, Ljava/lang/Class; .line 91 new-instance v1, Landroidx/work/OneTimeWorkRequest$Builder; invoke-direct {v1, v0}, Landroidx/work/OneTimeWorkRequest$Builder;->(Ljava/lang/Class;)V invoke-virtual {v1}, Landroidx/work/OneTimeWorkRequest$Builder;->build()Landroidx/work/WorkRequest; move-result-object v0 check-cast v0, Landroidx/work/OneTimeWorkRequest; .line 112 invoke-interface {p0, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z goto :goto_0 .line 113 :cond_0 check-cast p0, Ljava/util/List; return-object p0 .end method