PsiExpression (PsiExpression expression) { if (!(expression instanceof PsiPrefixExpression prefixExpression)) { return null; } final IElementType tokenType = prefixExpression.getOperationTokenType(); if (!JavaTokenType.EXCL.equals(tokenType)) { return null; } final PsiExpression operand = prefixExpression.getOperand(); PsiExpression stripped = PsiUtil.skipParenthesizedExprDown(operand); return stripped == null ? operand : stripped; }