This inspection identifies method calls where an argument that could potentially be null is passed to a parameter that is annotated with @NotNull, helping to detect potential NullPointerExceptions before they occur at runtime.

Example:


def test(@Nullable greeting: String): Unit = {
  sayHello(greeting)
}

def sayHello(@NotNull greeting: String): Unit = {
  println(greeting.toLowerCase)
}