package com.facetec.sdk; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; /* loaded from: classes.dex */ public class fv { private Type a; private Class b; private int d; public fv() { Type genericSuperclass = getClass().getGenericSuperclass(); if (genericSuperclass instanceof Class) { throw new RuntimeException("Missing type parameter."); } Type c = et.c(((ParameterizedType) genericSuperclass).getActualTypeArguments()[0]); this.a = c; this.b = (Class) et.e(c); this.d = this.a.hashCode(); } private fv(Type type) { Type c = et.c((Type) er.a(type)); this.a = c; this.b = (Class) et.e(c); this.d = this.a.hashCode(); } public final boolean equals(Object obj) { return (obj instanceof fv) && et.c(this.a, ((fv) obj).a); } public final String toString() { return et.b(this.a); } public static fv b(Type type) { return new fv<>(type); } public static fv b(Class cls) { return new fv<>(cls); } public final int hashCode() { return this.d; } public final Type b() { return this.a; } public final Class a() { return this.b; } }