if (interceptors == null)
{
return new InterceptorsImpl();
}
if (interceptors instanceof InterceptorsImpl)
{
return (InterceptorsImpl)interceptors;
}
InterceptorsImpl impl = new InterceptorsImpl();
for (Class clazz : interceptors.value())
{
impl.addValue(clazz);
}
return impl;