private void appendInterceptorClassesToList(InterceptionType interceptionType, List<I> interceptorsList, I... interceptors)
{
for (I interceptor: interceptors)
if (interceptorsList.contains(interceptor))
if (interceptionType != null)
throw new InterceptorException("Duplicate interceptor class definition when binding" + interceptor + " on " + interceptionType.name());
else
throw new InterceptorException("Duplicate interceptor class definition when binding" + interceptor + " as general interceptor");
else
interceptorsList.add(interceptor);
}