Hacker News new | ask | show | jobs
by tjdetwiler 4304 days ago
It's intended to be shorthand for:

  if (text2 != null) {
    text2.replace()
  }
Essentially they're moving support for @Nullable and @NotNull into the language and compiler.

https://www.jetbrains.com/idea/documentation/howto.html