package s2; /* loaded from: classes.dex */ public abstract class d { public static void a(Object obj, Class cls) { if (obj != null) { return; } throw new IllegalStateException(cls.getCanonicalName() + " must be set"); } public static Object b(Object obj) { obj.getClass(); return obj; } public static Object c(Object obj, String str) { if (obj != null) { return obj; } throw new NullPointerException(str); } }