public static ByModulatorOptimizationStrategy instance() {
        return INSTANCE;
    }
This strategy looks for standard traversals in by-modulators and replaces them with more optimized traversals
(e.g. {@code TokenTraversal}) if possible.
<p/>

@author Daniel Kuppitz (http://gremlin.guru)
@author Stephen Mallette (http://stephen.genoprime.com)
@example <pre>
__.path().by(id())                        // is replaced by __.path().by(id)
__.dedup().by(label())                    // is replaced by __.dedup().by(label)
__.order().by(values("name"))             // is replaced by __.order().by("name")
__.group().by().by(values("name").fold()) // is replaced by __.group().by("name")
</pre>
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/ByModulatorOptimizationStrategy.java