@Override
            public Value numberNode(NumberNode node) {
                int nodeValue = node.getValue().intValue();
                if (node.isFloatingPointNumber() || nodeValue < 0) {
                    throw new RuntimeException("only integers >=0 are supported");
                }
                return Value.integerValue(nodeValue);
            }
Creates a {@link Value} of a specific type from the given Node information.

@param source the node to deserialize.
@return the created Value.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/evaluation/value/Value.java