private boolean injectElement(final AnnotatedElement element, final Object adaptable, final Type type,
final boolean injectPrimitiveInitialValue, final Model modelAnnotation, final DisposalCallbackRegistry registry,
final InjectCallback callback, Result<?> result) {
InjectAnnotationProcessor annotationProcessor = null;
String source = getSource(element);
boolean wasInjectionSuccessful = false;
// find an appropriate annotation processor
for (InjectAnnotationProcessorFactory factory : sortedInjectAnnotationProcessorFactories) {