@Override
    public Object listShape(ListShape shape) {
        return withCopiedVisitors(() -> {
            int size = computeLength(shape);
            List<Object> result = new ArrayList<>(size);
            Object memberValue = shape.getMember().accept(this);
            if (memberValue != null) {
                for (int i = 0; i < size; i++) {
                    result.add(memberValue);
                }
            }
            return result;
        });
    }
Generates fake data from a modeled shape for static JMESPath analysis.
smithy-waiters/src/main/java/software/amazon/smithy/waiters/ModelRuntimeTypeGenerator.java