code: public static Class<?> cleanProxy(Class<?> toClean) {
          if (ProxyUtils.isProxy(toClean)) {
              return toClean.getSuperclass();
          }
          return toClean;
      }
docs: Return the non proxy class if needed.
  
  @param toClean The class to clean.
  @return the cleaned class.