How does Magento\Setup\Module\Di\Compiler\Config\Chain\InterceptorSubstitution::getInterceptorsList() work?

Context: How does Magento\Setup\Module\Di\Compiler\Config\Chain\InterceptorSubstitution::modify() work?