boolean (@NotNull PsiExpression expression) { if (!(expression instanceof PsiPrefixExpression prefixExp)) { return false; } final IElementType tokenType = prefixExp.getOperationTokenType(); return JavaTokenType.EXCL.equals(tokenType); }