What is Groovy's Meta-Object Protocol (MOP) primarily used for?
-
A
Defining database schemas at runtime
-
B
Intercepting and modifying method calls and property access dynamically
-
C
Compiling Groovy scripts to native bytecode
-
D
Managing dependency injection containers