/** * Return all interfaces that the given object implements as List, * including ones implemented by superclasses. * @param object the object to analyse for interfaces * @return all interfaces that the given object implements as List * @deprecated in favor of <code>ClassUtils.getAllInterfacesAsSet</code> * @see org.springframework.util.ClassUtils#getAllInterfacesAsSet(Object) */ public static List getAllInterfacesAsList(Object object) { return getAllInterfacesForClassAsList(object.getClass()); }