All Downloads are FREE. Search and download functionalities are using the official Maven repository.

errorprone.bugpattern.InjectOnConstructorOfAbstractClass.md Maven / Gradle / Ivy

The newest version!
When dependency injection frameworks call constructors, they can only do so on
constructors of concrete classes, which can delegate to superclass constructors.
In the case of abstract classes, their constructors are only called by their
concrete subclasses, not directly by injection frameworks, so the `@Inject`
annotation has no effect.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy