public interface DependencyResolver
DefaultDependencyResolver, which doesn't
provide an interface. This is so that later on, we can merge back with it.| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getDependencies(Collection<String> symbols)
Gets a list of dependencies for *the provided list of symbols.
|
Collection<String> |
getDependencies(Collection<String> symbols,
Set<String> seen) |
Collection<String> |
getDependencies(String code)
Gets a list of dependencies for the provided code.
|
Collection<String> |
getDependencies(String code,
Set<String> seen,
boolean addClosureBaseFile) |
Collection<String> getDependencies(String code) throws ServiceException
ServiceExceptionCollection<String> getDependencies(Collection<String> symbols) throws ServiceException
ServiceExceptionCollection<String> getDependencies(String code, Set<String> seen, boolean addClosureBaseFile) throws ServiceException
code - The raw code to be parsed for requires.seen - The set of already seen symbols.addClosureBaseFile - Indicates whether the closure base file should be
added to the dependency list.ServiceExceptionCollection<String> getDependencies(Collection<String> symbols, Set<String> seen) throws ServiceException
symbols - A list of required symbols.seen - The set of already seen symbols.ServiceExceptionCopyright © 2009-2015 Google. All Rights Reserved.