I have some legacy Java code inside which I'd like to call a groovy Closure.
Is this something that the Java / Groovy cross-compiler will be able to handle? I suspect it compiles Java first, but does it do another pass over the Groovy bytecode to resolve all the java references.
Or do I need to compile the class with closure first into a jar, so that I can access it from Java?