jmlparser-parent
Toggle table of contents
3.28.2-J8.0-K13.5-SNAPSHOT
java
Target filter
java
Switch theme
Search in API
Skip to content
jmlparser-parent
jmlparser-core
/
com.github.javaparser.quality
/
Preconditions
Preconditions
class
Preconditions
(
source
)
Members
Functions
check
Argument
Link copied to clipboard
open
fun
checkArgument
(
expression
:
Boolean
)
open
fun
checkArgument
(
expression
:
Boolean
,
message
:
Any
)
Ensures the truth of an expression involving one or more parameters to the calling method.
check
Not
Null
Link copied to clipboard
open
fun
checkNotNull
(
reference
:
Any
)
open
fun
checkNotNull
(
reference
:
Any
,
message
:
Any
)
Ensures that an object reference passed as a parameter to the calling method is not null.