public static InterceptorType getInterceptorTypeFor(Class<?> type) {
   for (InterceptorType interceptorType : InterceptorType.values()) {
     if (type == interceptorType.clazz) {
       return interceptorType;
     }
   }
   return null;
 }
 protected <T> LinkedList<T> getInterceptors(Class<T> clazz) {
   InterceptorType interceptorType = InterceptorType.getInterceptorTypeFor(clazz);
   if (interceptorType == null) return null;
   return getInterceptors(interceptorType);
 }