@CompileStatic Closure Parameter Type Checking Configuration
Goal: Ensure that when a method is annotated with @CompileStatic, the compiler validates that any closure passed as a parameter conforms to the declared parameter type, including variables captured from the enclosing scope. Currently, Groovy treats closures as dynamically typed unless the delegate type is explicitly known, so captured variables are not check