Files
rr3-apk/decompiled/sources/com/ironsource/aj.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

52 lines
1.4 KiB
Java

package com.ironsource;
import com.ironsource.mediationsdk.logger.IronLog;
import kotlin.NoWhenBranchMatchedException;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes2.dex */
public final class aj {
public static final aj a = new aj();
private aj() {
}
public static final <T> T a(T t, T t2) {
return t == null ? t2 : t;
}
public static final boolean a(Object obj) {
return a(obj, null, false, 6, null);
}
public static final boolean a(Object obj, String errorMessage) {
Intrinsics.checkNotNullParameter(errorMessage, "errorMessage");
return a(obj, errorMessage, false, 4, null);
}
public static final boolean a(Object obj, String errorMessage, boolean z) {
Intrinsics.checkNotNullParameter(errorMessage, "errorMessage");
if (obj != null) {
return true;
}
if (z) {
throw new NullPointerException(errorMessage);
}
if (z) {
throw new NoWhenBranchMatchedException();
}
IronLog.API.error(errorMessage);
return false;
}
public static /* synthetic */ boolean a(Object obj, String str, boolean z, int i, Object obj2) {
if ((i & 2) != 0) {
str = "reference is null";
}
if ((i & 4) != 0) {
z = false;
}
return a(obj, str, z);
}
}