Package com.google.common.flogger.util
Class Checks
- java.lang.Object
-
- com.google.common.flogger.util.Checks
-
public class Checks extends Object
Flogger's own version of the GuavaPreconditionsclass for simple, often used checks.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckArgument(boolean condition, String message)static StringcheckMetadataIdentifier(String s)Checks if the given string is a valid metadata identifier.static <T> TcheckNotNull(T value, String name)static voidcheckState(boolean condition, String message)
-