public Builder classResolver(final Supplier<ClassResolver> classResolverSupplier) {
            if (null == classResolverSupplier)
                throw new IllegalArgumentException("The classResolverSupplier cannot be null");
            this.classResolver = classResolverSupplier;
            return this;
        }
Provides a custom Kryo {@code ClassResolver} to be supplied to a {@code Kryo} instance.  If this value is
not supplied then it will default to the {@code ClassResolver} of the provided {@link GryoVersion}. To
ensure compatibility with Gryo it is highly recommended that objects passed to this method extend that class.
<p/>
If the {@code ClassResolver} implementation share state, then the {@link Supplier} should typically create
new instances when requested, as the {@link Supplier} will be called for each {@link Kryo} instance created.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoMapper.java