Rename `DependencyAnalyzer` to `DependencyResolver`
s/markAsNamedType/registerNamedType/ s/markAsNamedValue/registerNamedValue/
Add tests