- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
24 lines
595 B
Java
24 lines
595 B
Java
package dagger.internal;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public abstract class Preconditions {
|
|
public static Object checkNotNull(Object obj) {
|
|
obj.getClass();
|
|
return obj;
|
|
}
|
|
|
|
public static Object checkNotNull(Object obj, String str) {
|
|
if (obj != null) {
|
|
return obj;
|
|
}
|
|
throw new NullPointerException(str);
|
|
}
|
|
|
|
public static void checkBuilderRequirement(Object obj, Class cls) {
|
|
if (obj != null) {
|
|
return;
|
|
}
|
|
throw new IllegalStateException(cls.getCanonicalName() + " must be set");
|
|
}
|
|
}
|