@Deprecated
    public static void applySingleLevelStrategies(final Traversal.Admin<?, ?> parentTraversal,
                                                  final Traversal.Admin<?, ?> childTraversal,
                                                  final Class<? extends TraversalStrategy> stopAfterStrategy) {
        childTraversal.setStrategies(parentTraversal.getStrategies());
        childTraversal.setSideEffects(parentTraversal.getSideEffects());
        parentTraversal.getGraph().ifPresent(childTraversal::setGraph);
        for (final TraversalStrategy<?> strategy : parentTraversal.getStrategies()) {
            strategy.apply(childTraversal);
            if (null != stopAfterStrategy && stopAfterStrategy.isInstance(strategy))
                break;
        }
    }
@deprecated As of release 3.5.2, not replaced as strategies are not applied in this fashion after 3.5.0
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/util/TraversalHelper.java