public Builder methodImports(final Collection<String> methods) {
            for (String method : methods) {
                try {
                    if (method.endsWith("#*")) {
                        final String classString = method.substring(0, method.length() - 2);
                        final Class<?> clazz = Class.forName(classString);
                        methodImports.addAll(allStaticMethods(clazz));
                    } else {
                        final Matcher matcher = METHOD_PATTERN.matcher(method);

                        if (!matcher.matches())
                            throw new IllegalArgumentException(String.format("Could not read method descriptor - check format of: %s", method));

                        final String classString = matcher.group(1);
                        final String methodString = matcher.group(2);
                        final String argString = matcher.group(3);
                        final Class<?> clazz = Class.forName(classString);
                        methodImports.add(clazz.getMethod(methodString, parse(argString)));
                    }
                } catch (IllegalArgumentException iae) {
                    throw iae;
                } catch (Exception ex) {
                    throw new IllegalStateException(ex);
                }
            }
            return this;
        }
The name of the {@link GremlinScriptEngine} that this module will apply to. Setting no values here will
make the module available to all the engines.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/ImportGremlinPlugin.java