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