March 1, 2024
IntelliJ IDEA now offers autocompletion for all beans from an application’s context and automatically autowires them. If a bean has autowired dependencies via the constructor, the related field is also automatically wired through the constructor. Likewise, if dependencies are injected via fields or via Lombok’s @RequiredArgsConstructor annotation, the new bean is wired through the field automatically.