what-the-bank/sources/o/C5885cCS.java

34 lines
940 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import o.VLM;
/* renamed from: o.cCS, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C5885cCS implements VLM.LWm {
private final vXC<?>[] a;
public C5885cCS(vXC<?>... vxcArr) {
C14957gcv.e(vxcArr, "");
this.a = vxcArr;
}
@Override // o.VLM.LWm
public final <T extends VKL> T create(Class<T> cls, CWH cwh) {
C14957gcv.e(cls, "");
C14957gcv.e(cwh, "");
T t = null;
for (vXC<?> vxc : this.a) {
if (C14957gcv.b(vxc.b, cls)) {
Object invoke = vxc.c.invoke(cwh);
t = invoke instanceof VKL ? (T) invoke : null;
}
}
if (t != null) {
return t;
}
StringBuilder sb = new StringBuilder("No initializer set for given class ");
sb.append(cls.getName());
throw new IllegalArgumentException(sb.toString());
}
}