* 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>
419 lines
26 KiB
Java
419 lines
26 KiB
Java
package kotlin.text;
|
|
|
|
import com.google.android.gms.ads.RequestConfiguration;
|
|
import kotlin.Deprecated;
|
|
import kotlin.DeprecatedSinceKotlin;
|
|
import kotlin.Metadata;
|
|
import kotlin.ReplaceWith;
|
|
import kotlin.SinceKotlin;
|
|
import kotlin.internal.InlineOnly;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
@Metadata(d1 = {"\u0000h\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0005\n\u0002\u0010\n\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\u0010\f\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\u0019\n\u0002\b\u0002\n\u0002\u0010\r\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\t\n\u0002\u0010\u0007\n\u0002\u0010\u0006\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0000\u001a\u001d\u0010\u0000\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u0004H\u0087\b\u001a\u001d\u0010\u0000\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u0005H\u0087\b\u001a%\u0010\u0006\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\u0003\u001a\u00020\u0004H\u0087\b\u001a%\u0010\u0006\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\u0003\u001a\u00020\u0005H\u0087\b\u001a\u0014\u0010\t\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u0002H\u0007\u001a!\u0010\n\u001a\u00020\u000b*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\u0003\u001a\u00020\fH\u0087\n\u001a-\u0010\r\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u000e\u001a\u00020\b2\u0006\u0010\u000f\u001a\u00020\b2\u0006\u0010\u0003\u001a\u00020\u0010H\u0087\b\u001a\u001d\u0010\u0011\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0007\u001a\u00020\bH\u0087\b\u001a%\u0010\u0012\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u000e\u001a\u00020\b2\u0006\u0010\u000f\u001a\u00020\bH\u0087\b\u001a7\u0010\u0013\u001a\u00020\u000b*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0014\u001a\u00020\u00152\b\b\u0002\u0010\u0016\u001a\u00020\b2\b\b\u0002\u0010\u000e\u001a\u00020\b2\b\b\u0002\u0010\u000f\u001a\u00020\bH\u0087\b\u001a-\u0010\u0017\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u00152\u0006\u0010\u000e\u001a\u00020\b2\u0006\u0010\u000f\u001a\u00020\bH\u0087\b\u001a-\u0010\u0017\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u00182\u0006\u0010\u000e\u001a\u00020\b2\u0006\u0010\u000f\u001a\u00020\bH\u0087\b\u001a5\u0010\u0019\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\u0003\u001a\u00020\u00152\u0006\u0010\u000e\u001a\u00020\b2\u0006\u0010\u000f\u001a\u00020\bH\u0087\b\u001a5\u0010\u0019\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\u0003\u001a\u00020\u00182\u0006\u0010\u000e\u001a\u00020\b2\u0006\u0010\u000f\u001a\u00020\bH\u0087\b\u001a\u001f\u0010\u001a\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\b\u0010\u0003\u001a\u0004\u0018\u00010\u001bH\u0087\b\u001a%\u0010\u001a\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u000e\u0010\u0003\u001a\n\u0018\u00010\u0001j\u0004\u0018\u0001`\u0002H\u0087\b\u001a\u001d\u0010\u001a\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\bH\u0087\b\u001a\u001d\u0010\u001a\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u0005H\u0087\b\u001a\u001d\u0010\u001a\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u0004H\u0087\b\u001a\u001d\u0010\u001a\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u001cH\u0087\b\u001a\u001d\u0010\u001a\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u001dH\u0087\b\u001a\u001d\u0010\u001a\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u001eH\u0087\b\u001a\u0014\u0010\u001f\u001a\u00060 j\u0002`!*\u00060 j\u0002`!H\u0007\u001a\u001f\u0010\u001f\u001a\u00060 j\u0002`!*\u00060 j\u0002`!2\b\u0010\u0003\u001a\u0004\u0018\u00010\u0018H\u0087\b\u001a\u001d\u0010\u001f\u001a\u00060 j\u0002`!*\u00060 j\u0002`!2\u0006\u0010\u0003\u001a\u00020\fH\u0087\b\u001a\u0014\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u0002H\u0007\u001a\u001f\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\b\u0010\u0003\u001a\u0004\u0018\u00010\u001bH\u0087\b\u001a\u001f\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\b\u0010\u0003\u001a\u0004\u0018\u00010\u0018H\u0087\b\u001a\u001f\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\b\u0010\u0003\u001a\u0004\u0018\u00010\u0010H\u0087\b\u001a\u001f\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\b\u0010\u0003\u001a\u0004\u0018\u00010\"H\u0087\b\u001a%\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u000e\u0010\u0003\u001a\n\u0018\u00010\u0001j\u0004\u0018\u0001`\u0002H\u0087\b\u001a\u001d\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u0015H\u0087\b\u001a\u001d\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\fH\u0087\b\u001a\u001d\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020#H\u0087\b\u001a\u001d\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\bH\u0087\b\u001a\u001d\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u0005H\u0087\b\u001a\u001d\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u0004H\u0087\b\u001a\u001d\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u001cH\u0087\b\u001a\u001d\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u001dH\u0087\b\u001a\u001d\u0010\u001f\u001a\u00060\u0001j\u0002`\u0002*\u00060\u0001j\u0002`\u00022\u0006\u0010\u0003\u001a\u00020\u001eH\u0087\b¨\u0006$"}, d2 = {"append", "Ljava/lang/StringBuilder;", "Lkotlin/text/StringBuilder;", "value", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "insert", "index", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "clear", "set", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "setRange", "startIndex", "endIndex", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "deleteAt", "deleteRange", "toCharArray", "destination", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "destinationOffset", "appendRange", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "insertRange", "appendLine", "Ljava/lang/StringBuffer;", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "appendln", "Ljava/lang/Appendable;", "Lkotlin/text/Appendable;", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "kotlin-stdlib"}, k = 5, mv = {2, 2, 0}, xi = 49, xs = "kotlin/text/StringsKt")
|
|
@SourceDebugExtension({"SMAP\nStringBuilderJVM.kt\nKotlin\n*S Kotlin\n*F\n+ 1 StringBuilderJVM.kt\nkotlin/text/StringsKt__StringBuilderJVMKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,417:1\n1#2:418\n*E\n"})
|
|
/* loaded from: classes4.dex */
|
|
class StringsKt__StringBuilderJVMKt extends StringsKt__RegexExtensionsKt {
|
|
@SinceKotlin(version = "1.9")
|
|
@InlineOnly
|
|
private static final StringBuilder append(StringBuilder sb, byte b) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append((int) b);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return sb;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendLine(StringBuilder sb, StringBuffer stringBuffer) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(stringBuffer);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
sb.append('\n');
|
|
return sb;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendRange(StringBuilder sb, char[] value, int i, int i2) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
Intrinsics.checkNotNullParameter(value, "value");
|
|
sb.append(value, i, i2 - i);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return sb;
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine()", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@NotNull
|
|
public static final Appendable appendln(@NotNull Appendable appendable) {
|
|
Intrinsics.checkNotNullParameter(appendable, "<this>");
|
|
Appendable append = appendable.append(SystemProperties.LINE_SEPARATOR);
|
|
Intrinsics.checkNotNullExpressionValue(append, "append(...)");
|
|
return append;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@NotNull
|
|
public static final StringBuilder clear(@NotNull StringBuilder sb) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.setLength(0);
|
|
return sb;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder deleteAt(StringBuilder sb, int i) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
StringBuilder deleteCharAt = sb.deleteCharAt(i);
|
|
Intrinsics.checkNotNullExpressionValue(deleteCharAt, "deleteCharAt(...)");
|
|
return deleteCharAt;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder deleteRange(StringBuilder sb, int i, int i2) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
StringBuilder delete = sb.delete(i, i2);
|
|
Intrinsics.checkNotNullExpressionValue(delete, "delete(...)");
|
|
return delete;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.9")
|
|
@InlineOnly
|
|
private static final StringBuilder insert(StringBuilder sb, int i, byte b) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
StringBuilder insert = sb.insert(i, (int) b);
|
|
Intrinsics.checkNotNullExpressionValue(insert, "insert(...)");
|
|
return insert;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder insertRange(StringBuilder sb, int i, char[] value, int i2, int i3) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
Intrinsics.checkNotNullParameter(value, "value");
|
|
StringBuilder insert = sb.insert(i, value, i2, i3 - i2);
|
|
Intrinsics.checkNotNullExpressionValue(insert, "insert(...)");
|
|
return insert;
|
|
}
|
|
|
|
@InlineOnly
|
|
private static final void set(StringBuilder sb, int i, char c2) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.setCharAt(i, c2);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder setRange(StringBuilder sb, int i, int i2, String value) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
Intrinsics.checkNotNullParameter(value, "value");
|
|
StringBuilder replace = sb.replace(i, i2, value);
|
|
Intrinsics.checkNotNullExpressionValue(replace, "replace(...)");
|
|
return replace;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final void toCharArray(StringBuilder sb, char[] destination, int i, int i2, int i3) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
Intrinsics.checkNotNullParameter(destination, "destination");
|
|
sb.getChars(i2, i3, destination, i);
|
|
}
|
|
|
|
public static /* synthetic */ void toCharArray$default(StringBuilder sb, char[] destination, int i, int i2, int i3, int i4, Object obj) {
|
|
if ((i4 & 2) != 0) {
|
|
i = 0;
|
|
}
|
|
if ((i4 & 4) != 0) {
|
|
i2 = 0;
|
|
}
|
|
if ((i4 & 8) != 0) {
|
|
i3 = sb.length();
|
|
}
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
Intrinsics.checkNotNullParameter(destination, "destination");
|
|
sb.getChars(i2, i3, destination, i);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.9")
|
|
@InlineOnly
|
|
private static final StringBuilder append(StringBuilder sb, short s) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append((int) s);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return sb;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendLine(StringBuilder sb, StringBuilder sb2) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append((CharSequence) sb2);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
sb.append('\n');
|
|
return sb;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendRange(StringBuilder sb, CharSequence value, int i, int i2) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
Intrinsics.checkNotNullParameter(value, "value");
|
|
sb.append(value, i, i2);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return sb;
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final Appendable appendln(Appendable appendable, CharSequence charSequence) {
|
|
Intrinsics.checkNotNullParameter(appendable, "<this>");
|
|
Appendable append = appendable.append(charSequence);
|
|
Intrinsics.checkNotNullExpressionValue(append, "append(...)");
|
|
return appendln(append);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.9")
|
|
@InlineOnly
|
|
private static final StringBuilder insert(StringBuilder sb, int i, short s) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
StringBuilder insert = sb.insert(i, (int) s);
|
|
Intrinsics.checkNotNullExpressionValue(insert, "insert(...)");
|
|
return insert;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder insertRange(StringBuilder sb, int i, CharSequence value, int i2, int i3) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
Intrinsics.checkNotNullParameter(value, "value");
|
|
StringBuilder insert = sb.insert(i, value, i2, i3);
|
|
Intrinsics.checkNotNullExpressionValue(insert, "insert(...)");
|
|
return insert;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendLine(StringBuilder sb, int i) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(i);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
sb.append('\n');
|
|
return sb;
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final Appendable appendln(Appendable appendable, char c2) {
|
|
Intrinsics.checkNotNullParameter(appendable, "<this>");
|
|
Appendable append = appendable.append(c2);
|
|
Intrinsics.checkNotNullExpressionValue(append, "append(...)");
|
|
return appendln(append);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendLine(StringBuilder sb, short s) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append((int) s);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
sb.append('\n');
|
|
return sb;
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine()", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@NotNull
|
|
public static final StringBuilder appendln(@NotNull StringBuilder sb) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(SystemProperties.LINE_SEPARATOR);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return sb;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendLine(StringBuilder sb, byte b) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append((int) b);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
sb.append('\n');
|
|
return sb;
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, StringBuffer stringBuffer) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(stringBuffer);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendLine(StringBuilder sb, long j) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(j);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
sb.append('\n');
|
|
return sb;
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, CharSequence charSequence) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(charSequence);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendLine(StringBuilder sb, float f) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(f);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
sb.append('\n');
|
|
return sb;
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, String str) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(str);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendLine(StringBuilder sb, double d) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(d);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
sb.append('\n');
|
|
return sb;
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, Object obj) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(obj);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, StringBuilder sb2) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append((CharSequence) sb2);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, char[] value) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
Intrinsics.checkNotNullParameter(value, "value");
|
|
sb.append(value);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, char c2) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(c2);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, boolean z) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(z);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, int i) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(i);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, short s) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append((int) s);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, byte b) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append((int) b);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, long j) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(j);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, float f) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(f);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
|
|
@Deprecated(message = "Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.", replaceWith = @ReplaceWith(expression = "appendLine(value)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "2.1", warningSince = "1.4")
|
|
@InlineOnly
|
|
private static final StringBuilder appendln(StringBuilder sb, double d) {
|
|
Intrinsics.checkNotNullParameter(sb, "<this>");
|
|
sb.append(d);
|
|
Intrinsics.checkNotNullExpressionValue(sb, "append(...)");
|
|
return appendln(sb);
|
|
}
|
|
}
|