}
private boolean isReplacedByConstantValue(PrefixExpression node) {
// for '-', '+', '~' and '!', if the operand is a constant value,
// the expression is replaced by a constant value
Operator operator = node.getOperator();
if (operator != PrefixExpression.Operator.INCREMENT
&& operator != PrefixExpression.Operator.DECREMENT) {
return isReplacedByConstantValue(node.getOperand());
}
return false;