public default Set<Package> getClassPackages() {
        return getClassImports().stream().map(Class::getPackage).collect(Collectors.toCollection(LinkedHashSet::new));
    }
Gets the set of packages from the {@link #getClassImports()}.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/ImportCustomizer.java