According to @Autowired javadoc:
Marks a constructor, field, setter method or config method as to be autowired by Spring\'s dependency injection facili
Config-method in this context refers to methods that you would specify under init-method or @PostConstruct
init-method
@PostConstruct
Setter as you already know is like setXXX
setXXX
So obviously there is no difficulty in finding which is which. At the same time note that spring can not autowire based on parameter names.