* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
751 lines
22 KiB
Smali
751 lines
22 KiB
Smali
.class Lkotlin/collections/CollectionsKt__CollectionsJVMKt;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\\\n\u0000\n\u0002\u0010 \n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0011\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0010!\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u001c\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u001e\n\u0002\u0008\u0008\n\u0002\u0010\u000b\n\u0002\u0008\u0006\u001a\u001f\u0010\u0000\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\u0008\u0000\u0010\u00022\u0006\u0010\u0003\u001a\u0002H\u0002\u00a2\u0006\u0002\u0010\u0004\u001a0\u0010\u0005\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0006j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0007\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u0008H\u0081\u0008\u00a2\u0006\u0002\u0010\t\u001a7\u0010\n\u001a\u0008\u0012\u0004\u0012\u0002H\u000b0\u0001\"\u0004\u0008\u0000\u0010\u000b2\u001d\u0010\u000c\u001a\u0019\u0012\n\u0012\u0008\u0012\u0004\u0012\u0002H\u000b0\u000e\u0012\u0004\u0012\u00020\u000f0\r\u00a2\u0006\u0002\u0008\u0010H\u0081\u0008\u00f8\u0001\u0000\u001a?\u0010\n\u001a\u0008\u0012\u0004\u0012\u0002H\u000b0\u0001\"\u0004\u0008\u0000\u0010\u000b2\u0006\u0010\u0011\u001a\u00020\u00122\u001d\u0010\u000c\u001a\u0019\u0012\n\u0012\u0008\u0012\u0004\u0012\u0002H\u000b0\u000e\u0012\u0004\u0012\u00020\u000f0\r\u00a2\u0006\u0002\u0008\u0010H\u0081\u0008\u00f8\u0001\u0000\u001a\u0014\u0010\u0013\u001a\u0008\u0012\u0004\u0012\u0002H\u000b0\u000e\"\u0004\u0008\u0000\u0010\u000bH\u0001\u001a\u001c\u0010\u0013\u001a\u0008\u0012\u0004\u0012\u0002H\u000b0\u000e\"\u0004\u0008\u0000\u0010\u000b2\u0006\u0010\u0011\u001a\u00020\u0012H\u0001\u001a\"\u0010\u0014\u001a\u0008\u0012\u0004\u0012\u0002H\u000b0\u0001\"\u0004\u0008\u0000\u0010\u000b2\u000c\u0010\u0015\u001a\u0008\u0012\u0004\u0012\u0002H\u000b0\u000eH\u0001\u001a\u001f\u0010\u0016\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0017H\u0087\u0008\u001a\u001e\u0010\u0018\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0019H\u0007\u001a&\u0010\u0018\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u00192\u0006\u0010\u001a\u001a\u00020\u001bH\u0007\u001a\"\u0010\u001c\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u001d0\u00082\n\u0010\u001e\u001a\u0006\u0012\u0002\u0008\u00030\u001fH\u0081\u0008\u00a2\u0006\u0002\u0010 \u001a4\u0010\u001c\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0000\u0010\u00022\n\u0010\u001e\u001a\u0006\u0012\u0002\u0008\u00030\u001f2\u000c\u0010!\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008H\u0081\u0008\u00a2\u0006\u0002\u0010\"\u001a/\u0010#\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0000\u0010\u00022\u0006\u0010$\u001a\u00020\u00122\u000c\u0010!\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008H\u0000\u00a2\u0006\u0002\u0010%\u001a1\u0010&\u001a\u000c\u0012\u0008\u0008\u0001\u0012\u0004\u0018\u00010\u001d0\u0008\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u00082\u0006\u0010\'\u001a\u00020(H\u0000\u00a2\u0006\u0002\u0010)\u001a\u0011\u0010*\u001a\u00020\u00122\u0006\u0010+\u001a\u00020\u0012H\u0081\u0008\u001a\u0011\u0010,\u001a\u00020\u00122\u0006\u0010-\u001a\u00020\u0012H\u0081\u0008\u0082\u0002\u0007\n\u0005\u0008\u009920\u0001\u00a8\u0006."
|
|
}
|
|
d2 = {
|
|
"listOf",
|
|
"",
|
|
"T",
|
|
"element",
|
|
"(Ljava/lang/Object;)Ljava/util/List;",
|
|
"asArrayList",
|
|
"Ljava/util/ArrayList;",
|
|
"Lkotlin/collections/ArrayList;",
|
|
"",
|
|
"([Ljava/lang/Object;)Ljava/util/ArrayList;",
|
|
"buildListInternal",
|
|
"E",
|
|
"builderAction",
|
|
"Lkotlin/Function1;",
|
|
"",
|
|
"",
|
|
"Lkotlin/ExtensionFunctionType;",
|
|
"capacity",
|
|
"",
|
|
"createListBuilder",
|
|
"build",
|
|
"builder",
|
|
"toList",
|
|
"Ljava/util/Enumeration;",
|
|
"shuffled",
|
|
"",
|
|
"random",
|
|
"Ljava/util/Random;",
|
|
"collectionToArray",
|
|
"",
|
|
"collection",
|
|
"",
|
|
"(Ljava/util/Collection;)[Ljava/lang/Object;",
|
|
"array",
|
|
"(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;",
|
|
"terminateCollectionToArray",
|
|
"collectionSize",
|
|
"(I[Ljava/lang/Object;)[Ljava/lang/Object;",
|
|
"copyToArrayOfAny",
|
|
"isVarargs",
|
|
"",
|
|
"([Ljava/lang/Object;Z)[Ljava/lang/Object;",
|
|
"checkIndexOverflow",
|
|
"index",
|
|
"checkCountOverflow",
|
|
"count",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x5
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x31
|
|
xs = "kotlin/collections/CollectionsKt"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nCollectionsJVM.kt\nKotlin\n*S Kotlin\n*F\n+ 1 CollectionsJVM.kt\nkotlin/collections/CollectionsKt__CollectionsJVMKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,133:1\n1#2:134\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final asArrayList([Ljava/lang/Object;)Ljava/util/ArrayList;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;)",
|
|
"Ljava/util/ArrayList<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
.line 7
|
|
.line 8
|
|
const/4 v1, 0x1
|
|
|
|
.line 9
|
|
invoke-static {p0, v1}, Lkotlin/collections/CollectionsKt__CollectionsKt;->asCollection([Ljava/lang/Object;Z)Ljava/util/Collection;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object p0
|
|
|
|
.line 13
|
|
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static build(Ljava/util/List;)Ljava/util/List;
|
|
.locals 1
|
|
.param p0 # Ljava/util/List;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"TE;>;)",
|
|
"Ljava/util/List<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/PublishedApi;
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "builder"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
check-cast p0, Lkotlin/collections/builders/ListBuilder;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p0}, Lkotlin/collections/builders/ListBuilder;->build()Ljava/util/List;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object p0
|
|
|
|
.line 12
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final buildListInternal(ILkotlin/jvm/functions/Function1;)Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">(I",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/util/List<",
|
|
"TE;>;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Ljava/util/List<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/PublishedApi;
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "builderAction"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->createListBuilder(I)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->build(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final buildListInternal(Lkotlin/jvm/functions/Function1;)Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/util/List<",
|
|
"TE;>;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Ljava/util/List<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/PublishedApi;
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "builderAction"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->createListBuilder()Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p0, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-static {v0}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->build(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final checkCountOverflow(I)I
|
|
.locals 0
|
|
.annotation build Lkotlin/PublishedApi;
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 1
|
|
if-gez p0, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt__CollectionsKt;->throwCountOverflow()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
:cond_0
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final checkIndexOverflow(I)I
|
|
.locals 0
|
|
.annotation build Lkotlin/PublishedApi;
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 1
|
|
if-gez p0, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt__CollectionsKt;->throwIndexOverflow()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
:cond_0
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final collectionToArray(Ljava/util/Collection;)[Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Collection<",
|
|
"*>;)[",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "collection"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lkotlin/jvm/internal/CollectionToArray;->toArray(Ljava/util/Collection;)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final collectionToArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Collection<",
|
|
"*>;[TT;)[TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "collection"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "array"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/CollectionToArray;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final copyToArrayOfAny([Ljava/lang/Object;Z)[Ljava/lang/Object;
|
|
.locals 1
|
|
.param p0 # [Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;Z)[",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-class v0, [Ljava/lang/Object;
|
|
|
|
.line 7
|
|
.line 8
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object p1
|
|
|
|
.line 14
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result p1
|
|
|
|
.line 18
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 19
|
|
.line 20
|
|
return-object p0
|
|
|
|
.line 21
|
|
:cond_0
|
|
array-length p1, p0
|
|
|
|
.line 22
|
|
invoke-static {p0, p1, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result-object p0
|
|
|
|
.line 26
|
|
const-string p1, "copyOf(...)"
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static createListBuilder()Ljava/util/List;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">()",
|
|
"Ljava/util/List<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/PublishedApi;
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlin/collections/builders/ListBuilder;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-direct {v0, v3, v1, v2}, Lkotlin/collections/builders/ListBuilder;-><init>(IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static createListBuilder(I)Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">(I)",
|
|
"Ljava/util/List<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/PublishedApi;
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 2
|
|
new-instance v0, Lkotlin/collections/builders/ListBuilder;
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/collections/builders/ListBuilder;-><init>(I)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static listOf(Ljava/lang/Object;)Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(TT;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {p0}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p0
|
|
|
|
.line 5
|
|
const-string v0, "singletonList(...)"
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final shuffled(Ljava/lang/Iterable;)Ljava/util/List;
|
|
.locals 1
|
|
.param p0 # Ljava/lang/Iterable;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/Iterable<",
|
|
"+TT;>;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.2"
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt___CollectionsKt;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Ljava/util/Collections;->shuffle(Ljava/util/List;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final shuffled(Ljava/lang/Iterable;Ljava/util/Random;)Ljava/util/List;
|
|
.locals 1
|
|
.param p0 # Ljava/lang/Iterable;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/util/Random;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/Iterable<",
|
|
"+TT;>;",
|
|
"Ljava/util/Random;",
|
|
")",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.2"
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "random"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt___CollectionsKt;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0, p1}, Ljava/util/Collections;->shuffle(Ljava/util/List;Ljava/util/Random;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static terminateCollectionToArray(I[Ljava/lang/Object;)[Ljava/lang/Object;
|
|
.locals 1
|
|
.param p1 # [Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(I[TT;)[TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "array"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
array-length v0, p1
|
|
|
|
.line 7
|
|
if-ge p0, v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 v0, 0x0
|
|
|
|
.line 10
|
|
aput-object v0, p1, p0
|
|
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private static final toList(Ljava/util/Enumeration;)Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Enumeration<",
|
|
"TT;>;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p0}, Ljava/util/Collections;->list(Ljava/util/Enumeration;)Ljava/util/ArrayList;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object p0
|
|
|
|
.line 10
|
|
const-string v0, "list(...)"
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
return-object p0
|
|
.end method
|