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

35 lines
991 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* loaded from: classes2.dex */
final class Hqj implements Kyc {
private static final Hqj b = new Hqj();
private Hqj() {
}
@Override // o.Kyc
public final boolean c(Class<?> cls) {
return AbstractC16345ndh.class.isAssignableFrom(cls);
}
@Override // o.Kyc
public final SqB b(Class<?> cls) {
if (!AbstractC16345ndh.class.isAssignableFrom(cls)) {
StringBuilder sb = new StringBuilder("Unsupported message type: ");
sb.append(cls.getName());
throw new IllegalArgumentException(sb.toString());
}
try {
return (SqB) AbstractC16345ndh.d(cls.asSubclass(AbstractC16345ndh.class)).g();
} 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 Hqj b() {
return b;
}
}