I have a recurring annotation in my app that's injecting an object created by a CDI-producer.
@Inject
@FlatGeometryLive
FlatGeometry geoObject;
I wonder if it's possible to write a stereotype "@FlatGeometryLiveInject" so that i only have to write
@FlatGeometryLiveInject
FlatGeometry geoObject;
and the object is injected. Is this possible with CDI 1.1 or any DI framework?