Spring 中@Autowired,@Resource,@Inject 注解实现原理

entry : candidates.entrySet()) {

    String candidateName = entry.getKey();
    Object beanInstance = entry.getValue();
    if (beanInstance != null && this.resolvableDependencies.containsValue(beanInstance)) {
        return candidateName;
    }
}
return null;

}

`@Named` 注解定义中使用了 `@Qualifer` 注解修饰。代码如下:
```java
@Qualifier // 这里使用了@Qualifer注解修饰
@Documented
@Retention(RUNTIME)
public @interface Named {
    String value() default "";
}