Null-check method is called with obviously non-null argument
Reports if a null-checking method (for example,
Assert.assertNotNull) is called on a value that is obviously non-null (for example, a newly created object). Such a check is redundant and may indicate a programming error.
After the quick-fix is applied:
New in 2017.2
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3