@Override
    public CompilationCustomizer create() {
        return new ASTTransformationCustomizer(ThreadInterrupt.class);
    }
Injects checks for thread interruption into scripts.

@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/ThreadInterruptGroovyCustomizer.java