This commit adds a way for a BeanFactoryPostProcessor to participate to AOT optimizations by contributing code that replaces its runtime behaviour. ConfigurationClassPostProcessor does implement this new interface and computes a mapping of the ImportAware configuration classes. The mapping is generated for latter reuse by ImportAwareAotBeanPostProcessor. Closes gh-2811