When a class containing a method generator is compiled, the code that implements the method at runtime is written according to the instructions in the method definition.
InterSystems Caché is a multi-model DBMS and application server. See more details here.