public static Object[] resolveToValues(final GValue<?>[] gvalues) {
        final Object[] values = new Object[gvalues.length];
        for (int i = 0; i < gvalues.length; i++) {
            values[i] = gvalues[i].get();
        }
        return values;
    }
Converts {@link GValue} objects argument array to their values to prevent them from leaking to the Graph API.
Providers extending from this step should use this method to get actual values to prevent any {@link GValue}
objects from leaking to the Graph API.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/GValue.java