rework api of DependencyAnalyzer