Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package com.google.firebase.components;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class Preconditions {
|
||||
public static void checkArgument(boolean z3, String str) {
|
||||
if (!z3) {
|
||||
throw new IllegalArgumentException(str);
|
||||
}
|
||||
}
|
||||
|
||||
public static <T> T checkNotNull(T t2) {
|
||||
t2.getClass();
|
||||
return t2;
|
||||
}
|
||||
|
||||
public static void checkState(boolean z3, String str) {
|
||||
if (!z3) {
|
||||
throw new IllegalStateException(str);
|
||||
}
|
||||
}
|
||||
|
||||
public static <T> T checkNotNull(T t2, String str) {
|
||||
if (t2 != null) {
|
||||
return t2;
|
||||
}
|
||||
throw new NullPointerException(str);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user