title: Call Groovy Closure from Java Class - Will it Compile?
body: <p>I have some legacy Java code inside which I'd like to call a groovy Closure.  </p>
  
  <p>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.  </p>
  
  <p>Or do I need to compile the class with closure first into a jar, so that I can access it from Java?</p>