boolean (UElement element) { if (!(element instanceof UUnaryExpression unaryExpression)) return false; UastOperator operator = unaryExpression.getOperator(); return operator == UastPostfixOperator.DEC || operator == UastPostfixOperator.INC || operator == UastPrefixOperator.DEC || operator == UastPrefixOperator.INC; }