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