Is there a shortcut for inserting the code:
if (someParameter == null)
throw NullPointerException("someParameter is null");
Try typing ifn
followed by Tab. You can find more of those or define your own by going to the preferences and searching for "Live Templates".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With