boolean (@NotNull GrExpression exp) { if (!(exp instanceof GrUnaryExpression prefixExp)) { return false; } final IElementType sign = prefixExp.getOperationTokenType(); return GroovyTokenTypes.mBNOT.equals(sign); }