Rabbit-R1/android (non root)/java/sources/io/flutter/util/Preconditions.java
2024-05-21 17:08:36 -04:00

24 lines
511 B
Java

package io.flutter.util;
/* loaded from: classes3.dex */
public final class Preconditions {
private Preconditions() {
}
public static <T> T checkNotNull(T t) {
t.getClass();
return t;
}
public static void checkState(boolean z) {
if (!z) {
throw new IllegalStateException();
}
}
public static void checkState(boolean z, Object obj) {
if (!z) {
throw new IllegalStateException(String.valueOf(obj));
}
}
}