@SuppressWarnings("serial")
public class WebDriverConstructorAndSetterInjection extends CompositeInjection {
public WebDriverConstructorAndSetterInjection() {
super(new ConstructorInjection(),
new SetterInjection() {
@Override
public <T> ComponentAdapter<T> createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters) throws PicoCompositionException {
return new SetterInjector<T>(componentKey, componentImplementation, parameters, monitor, "set", "", false, true) {
@Override
protected boolean isInjectorMethod(Method method) {