ResourceScanner scan(final Collection<Class<?>> classes) {
        for (Class<?> aClass : classes) {
            collectHttpMethodsWithRel(aClass);
        }
        buildJsonHomeResources();
        buildHalLink();
        return this;
    }
ResourceScanner scan ( final Collection < Class < ? > > classes ) { for ( Class < ? > aClass : classes ) { collectHttpMethodsWithRel ( aClass ) ; } buildJsonHomeResources ( ) ; buildHalLink ( ) ; return this ; }
Scans a collection of resources.

@param classes the resource to scan
@return itself