Rabbit-R1/switch port/java/sources/androidx/fragment/app/FragmentTransactionKt.java

77 lines
4.8 KiB
Java
Raw Normal View History

2024-05-21 21:08:36 +00:00
package androidx.fragment.app;
import android.os.Bundle;
import io.sentry.protocol.ViewHierarchyNode;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: FragmentTransaction.kt */
@Metadata(d1 = {"\u0000\"\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a;\u0010\u0000\u001a\u00020\u0001\"\n\b\u0000\u0010\u0002\u0018\u0001*\u00020\u0003*\u00020\u00012\b\b\u0001\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\tH\u0086\b\u001a-\u0010\u0000\u001a\u00020\u0001\"\n\b\u0000\u0010\u0002\u0018\u0001*\u00020\u0003*\u00020\u00012\u0006\u0010\u0006\u001a\u00020\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\tH\u0086\b\u001a;\u0010\n\u001a\u00020\u0001\"\n\b\u0000\u0010\u0002\u0018\u0001*\u00020\u0003*\u00020\u00012\b\b\u0001\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\tH\u0086\\u0006\u000b"}, d2 = {"add", "Landroidx/fragment/app/FragmentTransaction;", "F", "Landroidx/fragment/app/Fragment;", "containerViewId", "", ViewHierarchyNode.JsonKeys.TAG, "", "args", "Landroid/os/Bundle;", "replace", "fragment-ktx_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class FragmentTransactionKt {
public static /* synthetic */ FragmentTransaction add$default(FragmentTransaction fragmentTransaction, int i, String str, Bundle bundle, int i2, Object obj) {
if ((i2 & 2) != 0) {
str = null;
}
if ((i2 & 4) != 0) {
bundle = null;
}
Intrinsics.checkNotNullParameter(fragmentTransaction, "<this>");
Intrinsics.reifiedOperationMarker(4, "F");
FragmentTransaction add = fragmentTransaction.add(i, Fragment.class, bundle, str);
Intrinsics.checkNotNullExpressionValue(add, "add(containerViewId, F::class.java, args, tag)");
return add;
}
public static final /* synthetic */ <F extends Fragment> FragmentTransaction add(FragmentTransaction fragmentTransaction, int i, String str, Bundle bundle) {
Intrinsics.checkNotNullParameter(fragmentTransaction, "<this>");
Intrinsics.reifiedOperationMarker(4, "F");
FragmentTransaction add = fragmentTransaction.add(i, Fragment.class, bundle, str);
Intrinsics.checkNotNullExpressionValue(add, "add(containerViewId, F::class.java, args, tag)");
return add;
}
public static /* synthetic */ FragmentTransaction add$default(FragmentTransaction fragmentTransaction, String tag, Bundle bundle, int i, Object obj) {
if ((i & 2) != 0) {
bundle = null;
}
Intrinsics.checkNotNullParameter(fragmentTransaction, "<this>");
Intrinsics.checkNotNullParameter(tag, "tag");
Intrinsics.reifiedOperationMarker(4, "F");
FragmentTransaction add = fragmentTransaction.add(Fragment.class, bundle, tag);
Intrinsics.checkNotNullExpressionValue(add, "add(F::class.java, args, tag)");
return add;
}
public static final /* synthetic */ <F extends Fragment> FragmentTransaction add(FragmentTransaction fragmentTransaction, String tag, Bundle bundle) {
Intrinsics.checkNotNullParameter(fragmentTransaction, "<this>");
Intrinsics.checkNotNullParameter(tag, "tag");
Intrinsics.reifiedOperationMarker(4, "F");
FragmentTransaction add = fragmentTransaction.add(Fragment.class, bundle, tag);
Intrinsics.checkNotNullExpressionValue(add, "add(F::class.java, args, tag)");
return add;
}
public static /* synthetic */ FragmentTransaction replace$default(FragmentTransaction fragmentTransaction, int i, String str, Bundle bundle, int i2, Object obj) {
if ((i2 & 2) != 0) {
str = null;
}
if ((i2 & 4) != 0) {
bundle = null;
}
Intrinsics.checkNotNullParameter(fragmentTransaction, "<this>");
Intrinsics.reifiedOperationMarker(4, "F");
FragmentTransaction replace = fragmentTransaction.replace(i, Fragment.class, bundle, str);
Intrinsics.checkNotNullExpressionValue(replace, "replace(containerViewId, F::class.java, args, tag)");
return replace;
}
public static final /* synthetic */ <F extends Fragment> FragmentTransaction replace(FragmentTransaction fragmentTransaction, int i, String str, Bundle bundle) {
Intrinsics.checkNotNullParameter(fragmentTransaction, "<this>");
Intrinsics.reifiedOperationMarker(4, "F");
FragmentTransaction replace = fragmentTransaction.replace(i, Fragment.class, bundle, str);
Intrinsics.checkNotNullExpressionValue(replace, "replace(containerViewId, F::class.java, args, tag)");
return replace;
}
}