docs: public static Class<?> getInterface(Class<?> target, ClassFilter filter) {
          Set<Class<?>> interfaces = getInterfaces(target, filter);
          if (!interfaces.isEmpty()) {
              return interfaces.iterator().next();
          }
          return null;
      }