IntelliJ IDEA 2016.1 Help

Negating Expressions

When you use code completion in Java, you can finish selection from the suggestion list with an
exclamation
mark. So doing, the exclamation mark will be placed before a Boolean method or variable being completed,
thus
negating the whole expression.