String (PsiElement element) { if (element instanceof PsiPrefixExpression prefixExpression) { final PsiExpression operand = prefixExpression.getOperand(); assert operand != null; final PsiJavaToken sign = prefixExpression.getOperationSign(); return operand.getText() + sign.getText(); } else { final PsiPostfixExpression postfixExpression = (PsiPostfixExpression)element; final PsiExpression operand = postfixExpression.getOperand(); final PsiJavaToken sign = postfixExpression.getOperationSign(); return sign.getText() + operand.getText(); } }