flogger-api
2.0.0-SNAPSHOT.209
jvm
flogger-api
/
com.google.common.flogger.util
/
Checks
Checks
public
class
Checks
Flogger's own version of the Guava
Preconditions
class for simple, often used checks.
Members
Functions
check
Argument
Link copied to clipboard
public
static
void
checkArgument
(
boolean condition
,
String
message
)
check
Metadata
Identifier
Link copied to clipboard
@
CanIgnoreReturnValue
(
)
public
static
String
checkMetadataIdentifier
(
String
s
)
Checks if the given string is a valid metadata identifier.
check
Not
Null
Link copied to clipboard
@
CanIgnoreReturnValue
(
)
public
static
T
checkNotNull
<
T
>
(
T
value
,
String
name
)
check
State
Link copied to clipboard
public
static
void
checkState
(
boolean condition
,
String
message
)