Performs the bytecode analysis and instrumentation for generic query manager functionalities, such as lazy-loading.