Checks

public class Checks

Flogger's own version of the Guava Preconditions class for simple, often used checks.

Functions

Link copied to clipboard
public static void checkArgument(boolean condition, String message)
Link copied to clipboard
@CanIgnoreReturnValue()
public static String checkMetadataIdentifier(String s)
Checks if the given string is a valid metadata identifier.
Link copied to clipboard
@CanIgnoreReturnValue()
public static T checkNotNull<T>(T value, String name)
Link copied to clipboard
public static void checkState(boolean condition, String message)