@Override public Void visit(InjectionRequest<?> injectionRequest) { dependencyAnalyzer.analyzeInjectionPoints(injectionRequest.getInjectionPoints()); injectionRequest.applyTo(binder); return null; }
@Override public Boolean visit(InjectionRequest<?> request) { Set<InjectionPoint> injectionPoints; try { injectionPoints = request.getInjectionPoints(); } catch (ConfigurationException e) { errors.merge(e.getErrorMessages()); injectionPoints = e.getPartialValue(); } initializer.requestInjection( injector, request.getInstance(), null, request.getSource(), injectionPoints); return true; }
@Override public V visit(InjectionRequest<?> request) { return message(request, "Requesting injection of " + request.getType() + " for instance " + request.getInstance()); }
@Override public Object visit(InjectionRequest<?> injectionRequest) { processInjectionPoints(injectionRequest.getInjectionPoints()); return super.visit(injectionRequest); }