'How to get Grails Gorm autocomplete in regular Spring Data JPA

Grails GORM is able to autogenerate ORM findBy[fieldName] and related methods for each of the fields in the entity, I'm not sure what magic it uses to do this I just know that IntelliJ is able to autocomplete all of these methods for free. Is there a way to get a similar behavior in Spring?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source