That is not currently part of the API. You can simulate it by using
the T T getObject(ClassT objectType, AnnotationProvider
annotationProvider)
method. That's a bit trickier and the API needs to change to support
your needs (please add an issue).
Generally, this isn't necessary because you
I have @SomeMarker annotation:
@Marker({...@somemarker})
void SomeService buildSomeService() {...}
How get SomeService by his marker (in ObjectLocator I not found like
method).
method like this: T T getService(? extends Annotation marker,
ClassT interface)