@Test(expected = IllegalArgumentException.class) public void testConflictingBinderBinding() throws Exception { doReturn(FirstPseudoAnnotation.class).when(firstParameterBinder).getHandledType(); doReturn(FirstPseudoAnnotation.class).when(secondParameterBinder).getHandledType(); TargetMethodAnnotationDrivenBinder.of(Arrays.<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>>asList(firstParameterBinder, secondParameterBinder)); }
public static MethodDelegationBinder of(List<? extends ParameterBinder<?>> parameterBinders) { return new TargetMethodAnnotationDrivenBinder(DelegationProcessor.of(parameterBinders)); }
TargetMethodAnnotationDrivenBinder implements MethodDelegationBinder { public static MethodDelegationBinder of(List<? extends ParameterBinder<?>> parameterBinders) { return new TargetMethodAnnotationDrivenBinder(DelegationProcessor.of(parameterBinders)); } }
TargetMethodAnnotationDrivenBinder implements MethodDelegationBinder { public static MethodDelegationBinder of(List<? extends ParameterBinder<?>> parameterBinders) { return new TargetMethodAnnotationDrivenBinder(DelegationProcessor.of(parameterBinders)); } protected  TargetMethodAnnotationDrivenBinder(DelegationProcessor delegationProcessor); }
TargetMethodAnnotationDrivenBinder implements MethodDelegationBinder { public static MethodDelegationBinder of(List<? extends ParameterBinder<?>> parameterBinders) { return new TargetMethodAnnotationDrivenBinder(DelegationProcessor.of(parameterBinders)); } protected  TargetMethodAnnotationDrivenBinder(DelegationProcessor delegationProcessor); static MethodDelegationBinder of(List<? extends ParameterBinder<?>> parameterBinders); MethodDelegationBinder.Record compile(MethodDescription candidate); }
TargetMethodAnnotationDrivenBinder implements MethodDelegationBinder { public static MethodDelegationBinder of(List<? extends ParameterBinder<?>> parameterBinders) { return new TargetMethodAnnotationDrivenBinder(DelegationProcessor.of(parameterBinders)); } protected  TargetMethodAnnotationDrivenBinder(DelegationProcessor delegationProcessor); static MethodDelegationBinder of(List<? extends ParameterBinder<?>> parameterBinders); MethodDelegationBinder.Record compile(MethodDescription candidate);  }