Annotation Driven Properties For Java allows you to inject properties in your objects in a declarative way using annotations
'io.github.benas:adp4j:1.0.0'
<dependency> <groupId>io.github.benas</groupId> <artifactId>adp4j</artifactId> <version>1.0.0</version> </dependency>
<dependency org="io.github.benas" name="adp4j" rev="1.0.0"/>
"io.github.benas", "adp4j", "1.0.0"