Inspectopedia Help

'assert' statement

Reports assert statements. By default, assert statements are disabled during execution in the production environment. Consider using logger or exceptions instead.

The assert statements are not supported in Java 1.3 and earlier JVM.

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023