- Intellij Preferences > Live Templates > group
other
- Add a new one with
- abbreviation
rnn
- Description
requireNonNull
- Template text
java.util.Objects.requireNonNull($var$, "$var$ is null")
- Applicable contexts:
Java > Expression
- check
use static imports if possible
- Edit variables button and there add
var
variable withvariableOfType("Object")
expression
- abbreviation
Last active
December 31, 2021 16:50
-
-
Save findepi/b597d2bc91e5a30c2a44fd65fe252f0b to your computer and use it in GitHub Desktop.
Author
findepi
commented
Sep 17, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment