what-the-bank/sources/com/google/android/gms/internal/vision/zzfx.java

35 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.vision;
import com.google.android.gms.internal.vision.zzfy;
/* loaded from: classes2.dex */
final class zzfx implements zzhe {
private static final zzfx zzwi = new zzfx();
private zzfx() {
}
@Override // com.google.android.gms.internal.vision.zzhe
public final boolean zzb(Class<?> cls) {
return zzfy.class.isAssignableFrom(cls);
}
@Override // com.google.android.gms.internal.vision.zzhe
public final zzhd zzc(Class<?> cls) {
if (!zzfy.class.isAssignableFrom(cls)) {
String valueOf = String.valueOf(cls.getName());
throw new IllegalArgumentException(valueOf.length() != 0 ? "Unsupported message type: ".concat(valueOf) : new String("Unsupported message type: "));
}
try {
return (zzhd) zzfy.zzd(cls.asSubclass(zzfy.class)).zza(zzfy.zzg.zzwz, (Object) null, (Object) null);
} catch (Exception e) {
String valueOf2 = String.valueOf(cls.getName());
throw new RuntimeException(valueOf2.length() != 0 ? "Unable to get message info for ".concat(valueOf2) : new String("Unable to get message info for "), e);
}
}
public static zzfx zzex() {
return zzwi;
}
}