docs: public static Set<Class<?>> getInterfaces(Class<?>target, ClassFilter filter) {
          Class<?> clazz = target;
          Set<Class<?>> interfacesFound = getDeclaredInterfaces(clazz, filter);
          
          while((clazz = clazz.getSuperclass()) != null) {
              interfacesFound.addAll(getDeclaredInterfaces(clazz, filter));
          }
          return interfacesFound;
         
      }