From the suggestions made by IDEA, I find that the ones regarding the constructor are the simplest and most logical.
In my case, I added an @Inject
annotation to the constructor; adding a constructor with no parameters is also a pretty harmless option.