code: ResourceScanner scan(final Collection<Class<?>> classes) {
          for (Class<?> aClass : classes) {
              collectHttpMethodsWithRel(aClass);
          }
          buildJsonHomeResources();
          buildHalLink();
          return this;
      }
docs: Scans a collection of resources.
  
  @param classes the resource to scan
  @return itself