dependency.call(); In the above example, Lombok will create a constructor with a single dependency field, and since this is the only constructor, Spring will inject the dependencies through it. If your version of Spring is less than 4.3, or you use multiple constructors, you can annotate the desired Lombok constructor with the @Autowired ... More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.