package com.google.android.exoplayer2.util; /* loaded from: classes2.dex */ public abstract class Assertions { public static void checkArgument(boolean z) { if (!z) { throw new IllegalArgumentException(); } } public static void checkState(boolean z) { if (!z) { throw new IllegalStateException(); } } public static Object checkStateNotNull(Object obj) { if (obj != null) { return obj; } throw new IllegalStateException(); } public static Object checkNotNull(Object obj) { obj.getClass(); return obj; } }