getAMRespImpl() macro is only called once when compiling allocateContainers() method at compile-time, so invocations of  allocateContainers() will not do reflection at run-time.