@Override
	public ExpressionValue applyUnaryOperator(ExpressionOperator operator) throws ExpressionException {
		switch (operator) {
			case BITWISE_NOT:
				return new LongExpressionValue(~value);
			case LOGICAL_NOT:
				return new LongExpressionValue(value == 0 ? 1 : 0);
			case UNARY_MINUS:
				return new LongExpressionValue(-value);
			case UNARY_PLUS:
				return this;
			default:
				throw new ExpressionException(
					"Unary Operator " + operator + " not supported by Long values!");
		}
	}
Long operand values. See {@link ExpressionValue}. Defines supported operators and other
operands for expression values that are long values.
Ghidra/Framework/Generic/src/main/java/generic/expressions/LongExpressionValue.java