private Set < URL > resolverUrls ( String [ ] scanPaths ) { Set < URL > urls = new HashSet < URL > ( ) ; for ( String path : scanPaths ) { URL [ ] urlsFromPath = ClasspathUrlFinder . findResourceBases ( path . trim ( ) ) ; urls . addAll ( Arrays . asList ( urlsFromPath ) ) ; } return urls ; }
Returns the URLs which has classes from scanPaths .