Groovy @CompileStatic: Adding Static Compilation Without Breaking Dynamic Code
Introduce @CompileStatic into an existing Groovy codebase one class at a time: read the compile errors as a map of dynamic dependencies, isolate the rest with @CompileDynamic, and verify the bytecode.