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

36 lines
1.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* renamed from: o.eWl, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
final class C11041eWl implements InterfaceC6157cKh {
private static final C11041eWl b = new C11041eWl();
private C11041eWl() {
}
@Override // o.InterfaceC6157cKh
public final boolean d(Class<?> cls) {
return KUw.class.isAssignableFrom(cls);
}
@Override // o.InterfaceC6157cKh
public final InterfaceC16924sSR c(Class<?> cls) {
if (!KUw.class.isAssignableFrom(cls)) {
StringBuilder sb = new StringBuilder("Unsupported message type: ");
sb.append(cls.getName());
throw new IllegalArgumentException(sb.toString());
}
try {
return (InterfaceC16924sSR) KUw.getDefaultInstance(cls.asSubclass(KUw.class)).buildMessageInfo();
} catch (Exception e) {
StringBuilder sb2 = new StringBuilder("Unable to get message info for ");
sb2.append(cls.getName());
throw new RuntimeException(sb2.toString(), e);
}
}
public static C11041eWl d() {
return b;
}
}