Skip to content

Commit

Permalink
Update ProjectDependencyAnalyzer.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Draluy authored Dec 15, 2021
1 parent 06190e1 commit 0e66f1b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/kotlin/ProjectDependencyAnalyzer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ import kotlin.io.path.isDirectory

class ProjectDependencyAnalyzer {

init{
val combinedTypeSolver = CombinedTypeSolver()
combinedTypeSolver.add(ReflectionTypeSolver())
val symbolSolver = JavaSymbolSolver(combinedTypeSolver)
StaticJavaParser.getConfiguration().setSymbolResolver(symbolSolver)
}

fun analyze(folder: Path): List<Dependencies> {
checkDirIsKosher(folder)
val files = listFiles(folder)
Expand Down

0 comments on commit 0e66f1b

Please sign in to comment.