alexandroid/decompiled/jadx/sources/androidx/compose/ui/internal/InlineClassHelperKt.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

87 lines
5.3 KiB
Java

package androidx.compose.ui.internal;
import androidx.compose.runtime.BitVector$$ExternalSyntheticOutline0;
import androidx.exifinterface.media.ExifInterface;
import io.ktor.util.PathKt$$ExternalSyntheticBUOutline0;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000,\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0001\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0002\b\u0005\u001a\u0010\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\u0000\u001a\u0010\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0002\u001a\u00020\u0003H\u0000\u001a\u0010\u0010\u0006\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\u0000\u001a\u0010\u0010\u0007\u001a\u00020\u00052\u0006\u0010\u0002\u001a\u00020\u0003H\u0000\u001a\u0010\u0010\b\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\u0000\u001a\u0010\u0010\t\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\u0000\u001a*\u0010\n\u001a\u00020\u00012\u0006\u0010\u000b\u001a\u00020\f2\f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00030\u000eH\u0080\b\u0082\u0002\b\n\u0006\b\u0000\u001a\u0002\u0010\u0001\u001a\u001c\u0010\n\u001a\u00020\u00012\u0006\u0010\u000b\u001a\u00020\fH\u0080\b\u0082\u0002\b\n\u0006\b\u0000\u001a\u0002\u0010\u0001\u001a=\u0010\u000f\u001a\u0002H\u0010\"\b\b\u0000\u0010\u0010*\u00020\u00112\b\u0010\u000b\u001a\u0004\u0018\u0001H\u00102\f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00030\u000eH\u0080\b\u0082\u0002\n\n\b\b\u0000\u001a\u0004\b\u0003\u0010\u0001¢\u0006\u0002\u0010\u0012\u001a/\u0010\u000f\u001a\u0002H\u0010\"\b\b\u0000\u0010\u0010*\u00020\u00112\b\u0010\u000b\u001a\u0004\u0018\u0001H\u0010H\u0080\b\u0082\u0002\n\n\b\b\u0000\u001a\u0004\b\u0003\u0010\u0001¢\u0006\u0002\u0010\u0013\u001a*\u0010\u0014\u001a\u00020\u00012\u0006\u0010\u000b\u001a\u00020\f2\f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00030\u000eH\u0080\b\u0082\u0002\b\n\u0006\b\u0000\u001a\u0002\u0010\u0001\u001a=\u0010\u0015\u001a\u0002H\u0010\"\b\b\u0000\u0010\u0010*\u00020\u00112\b\u0010\u000b\u001a\u0004\u0018\u0001H\u00102\f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00030\u000eH\u0080\b\u0082\u0002\n\n\b\b\u0000\u001a\u0004\b\u0003\u0010\u0001¢\u0006\u0002\u0010\u0012¨\u0006\u0016"}, d2 = {"throwIllegalStateException", "", "message", "", "throwIllegalStateExceptionForNullCheck", "", "throwIllegalArgumentException", "throwIllegalArgumentExceptionForNullCheck", "throwUnsupportedOperationException", "throwIndexOutOfBoundsException", "checkPrecondition", "value", "", "lazyMessage", "Lkotlin/Function0;", "checkPreconditionNotNull", ExifInterface.GPS_DIRECTION_TRUE, "", "(Ljava/lang/Object;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;", "(Ljava/lang/Object;)Ljava/lang/Object;", "requirePrecondition", "requirePreconditionNotNull", "ui_release"}, k = 2, mv = {2, 0, 0}, xi = 48)
/* loaded from: classes13.dex */
public final class InlineClassHelperKt {
public static final void checkPrecondition(boolean z, @NotNull Function0<String> function0) {
if (z) {
return;
}
throwIllegalStateException(function0.invoke());
}
@NotNull
public static final <T> T checkPreconditionNotNull(@Nullable T t, @NotNull Function0<String> function0) {
if (t != null) {
return t;
}
throw BitVector$$ExternalSyntheticOutline0.m3870m(function0.invoke());
}
public static final void requirePrecondition(boolean z, @NotNull Function0<String> function0) {
if (z) {
return;
}
throwIllegalArgumentException(function0.invoke());
}
@NotNull
public static final <T> T requirePreconditionNotNull(@Nullable T t, @NotNull Function0<String> function0) {
if (t != null) {
return t;
}
throwIllegalArgumentExceptionForNullCheck(function0.invoke());
PathKt$$ExternalSyntheticBUOutline0.m$1();
return null;
}
public static final void throwIllegalArgumentException(@NotNull String str) {
throw new IllegalArgumentException(str);
}
@NotNull
public static final Void throwIllegalArgumentExceptionForNullCheck(@NotNull String str) {
throw new IllegalArgumentException(str);
}
public static final void throwIllegalStateException(@NotNull String str) {
throw new IllegalStateException(str);
}
@NotNull
public static final Void throwIllegalStateExceptionForNullCheck(@NotNull String str) {
throw new IllegalStateException(str);
}
public static final void throwIndexOutOfBoundsException(@NotNull String str) {
throw new IndexOutOfBoundsException(str);
}
public static final void throwUnsupportedOperationException(@NotNull String str) {
throw new UnsupportedOperationException(str);
}
public static final void checkPrecondition(boolean z) {
if (z) {
return;
}
throwIllegalStateException("Check failed.");
}
@NotNull
public static final <T> T checkPreconditionNotNull(@Nullable T t) {
if (t != null) {
return t;
}
throw BitVector$$ExternalSyntheticOutline0.m3870m("Required value was null.");
}
}