### Question:
ReferenceAnnotationBeanPostProcessor extends InstantiationAwareBeanPostProcessorAdapter implements MergedBeanDefinitionPostProcessor, PriorityOrdered, ApplicationContextAware, BeanClassLoaderAware,
        DisposableBean { public Map<InjectionMetadata.InjectedElement, ReferenceBean<?>> getInjectedFieldReferenceBeanMap() { Map<InjectionMetadata.InjectedElement, ReferenceBean<?>> injectedElementReferenceBeanMap = new LinkedHashMap<InjectionMetadata.InjectedElement, ReferenceBean<?>>(); for (ReferenceInjectionMetadata metadata : injectionMetadataCache.values()) { Collection<ReferenceFieldElement> fieldElements = metadata.getFieldElements(); for (ReferenceFieldElement fieldElement : fieldElements) { injectedElementReferenceBeanMap.put(fieldElement, fieldElement.referenceBean); } } return injectedElementReferenceBeanMap; }  @Override PropertyValues postProcessPropertyValues(
            PropertyValues pvs, PropertyDescriptor[] pds, Object bean, String beanName); @Override void setApplicationContext(ApplicationContext applicationContext); @Override void postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName); @Override int getOrder(); @Override void destroy(); @Override void setBeanClassLoader(ClassLoader classLoader); Collection<ReferenceBean<?>> getReferenceBeans(); Map<InjectionMetadata.InjectedElement, ReferenceBean<?>> getInjectedFieldReferenceBeanMap(); Map<InjectionMetadata.InjectedElement, ReferenceBean<?>> getInjectedMethodReferenceBeanMap(); static final String BEAN_NAME; }### Answer:
@Test public void testGetInjectedFieldReferenceBeanMap() { AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(TestBean.class); ReferenceAnnotationBeanPostProcessor beanPostProcessor = context.getBean(BEAN_NAME, ReferenceAnnotationBeanPostProcessor.class); Map<InjectionMetadata.InjectedElement, ReferenceBean<?>> referenceBeanMap = beanPostProcessor.getInjectedFieldReferenceBeanMap(); Assertions.assertEquals(5, referenceBeanMap.size()); for (Map.Entry<InjectionMetadata.InjectedElement, ReferenceBean<?>> entry : referenceBeanMap.entrySet()) { InjectionMetadata.InjectedElement injectedElement = entry.getKey(); Assertions.assertEquals("org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceFieldElement", injectedElement.getClass().getName()); ReferenceBean<?> referenceBean = entry.getValue(); Assertions.assertEquals("1.2", referenceBean.getVersion()); Assertions.assertEquals("dubbo: } }