package q; import android.graphics.Typeface; import java.lang.reflect.Array; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; /* loaded from: classes.dex */ public class m extends l { @Override // q.l protected Typeface h(Object obj) { try { Object newInstance = Array.newInstance((Class) this.f13314g, 1); Array.set(newInstance, 0, obj); return (Typeface) this.f13320m.invoke(null, newInstance, "sans-serif", -1, -1); } catch (IllegalAccessException | InvocationTargetException e10) { throw new RuntimeException(e10); } } @Override // q.l protected Method t(Class cls) { Class cls2 = Integer.TYPE; Method declaredMethod = Typeface.class.getDeclaredMethod("createFromFamiliesWithDefault", Array.newInstance((Class) cls, 1).getClass(), String.class, cls2, cls2); declaredMethod.setAccessible(true); return declaredMethod; } }