- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
80 lines
2.1 KiB
Java
80 lines
2.1 KiB
Java
package com.mbridge.msdk.dycreator.d;
|
|
|
|
import com.mbridge.msdk.dycreator.g.c;
|
|
import com.mbridge.msdk.dycreator.g.d;
|
|
import com.mbridge.msdk.dycreator.g.f;
|
|
import com.mbridge.msdk.dycreator.g.h;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class a {
|
|
private static volatile a a;
|
|
|
|
/* renamed from: com.mbridge.msdk.dycreator.d.a$a, reason: collision with other inner class name */
|
|
public enum EnumC0194a {
|
|
VIEW_OBSERVER,
|
|
CLICK_OBSERVER,
|
|
EFFECT_OBSERVER,
|
|
REPORT_OBSERVER
|
|
}
|
|
|
|
private a() {
|
|
}
|
|
|
|
public static a a() {
|
|
if (a == null) {
|
|
synchronized (a.class) {
|
|
try {
|
|
if (a == null) {
|
|
a = new a();
|
|
}
|
|
} finally {
|
|
}
|
|
}
|
|
}
|
|
return a;
|
|
}
|
|
|
|
/* renamed from: com.mbridge.msdk.dycreator.d.a$1, reason: invalid class name */
|
|
public static /* synthetic */ class AnonymousClass1 {
|
|
static final /* synthetic */ int[] a;
|
|
|
|
static {
|
|
int[] iArr = new int[EnumC0194a.values().length];
|
|
a = iArr;
|
|
try {
|
|
iArr[EnumC0194a.VIEW_OBSERVER.ordinal()] = 1;
|
|
} catch (NoSuchFieldError unused) {
|
|
}
|
|
try {
|
|
a[EnumC0194a.CLICK_OBSERVER.ordinal()] = 2;
|
|
} catch (NoSuchFieldError unused2) {
|
|
}
|
|
try {
|
|
a[EnumC0194a.EFFECT_OBSERVER.ordinal()] = 3;
|
|
} catch (NoSuchFieldError unused3) {
|
|
}
|
|
try {
|
|
a[EnumC0194a.REPORT_OBSERVER.ordinal()] = 4;
|
|
} catch (NoSuchFieldError unused4) {
|
|
}
|
|
}
|
|
}
|
|
|
|
public final <T extends com.mbridge.msdk.dycreator.g.a> T a(EnumC0194a enumC0194a) {
|
|
int i = AnonymousClass1.a[enumC0194a.ordinal()];
|
|
if (i == 1) {
|
|
return new d();
|
|
}
|
|
if (i == 2) {
|
|
return new c();
|
|
}
|
|
if (i == 3) {
|
|
return new f();
|
|
}
|
|
if (i != 4) {
|
|
return null;
|
|
}
|
|
return new h();
|
|
}
|
|
}
|