@Override
    public CompilationCustomizer create() {
        final Map<String, Object> annotationParams = new HashMap<>();
        if (extensions != null && !extensions.isEmpty()) {
            if (extensions.contains(","))
                annotationParams.put("extensions", Stream.of(extensions.split(",")).collect(Collectors.toList()));
            else
                annotationParams.put("extensions", Collections.singletonList(extensions));
        }
        return new ASTTransformationCustomizer(annotationParams, TypeChecked.class);
    }
Configures the {@code TypeChecked} annotation to use optional extensions.  The argument should be one or more
groovy scripts on the classpath or the fully qualified classname of a precompiled extension.  If there are
multiple extensions then extensions should be comma separated.
gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/TypeCheckedGroovyCustomizer.java