boolean (@Nullable PsiElement element) { if (element instanceof PsiUnaryExpression) { IElementType sign = ((PsiUnaryExpression)element).getOperationTokenType(); return sign == JavaTokenType.PLUSPLUS || sign == JavaTokenType.MINUSMINUS; } return false; }