void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { final PsiElement parent = element.getParent(); if (!(parent instanceof PsiPrefixExpression prefixExpression)) { return; } final PsiExpression operand = prefixExpression.getOperand(); if (operand == null) { return; } prefixExpression.replace(operand); }