From 34744ea56562aa7087bbead80626ba712858d6e3 Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Fri, 25 Mar 2022 14:41:10 +0800 Subject: [PATCH] feat: add debug for local info --- .../src/main/kotlin/chapi/app/analyser/JavaAnalyserApp.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/chapi-application/src/main/kotlin/chapi/app/analyser/JavaAnalyserApp.kt b/chapi-application/src/main/kotlin/chapi/app/analyser/JavaAnalyserApp.kt index ccfeb091..fb54ae37 100644 --- a/chapi-application/src/main/kotlin/chapi/app/analyser/JavaAnalyserApp.kt +++ b/chapi-application/src/main/kotlin/chapi/app/analyser/JavaAnalyserApp.kt @@ -34,6 +34,7 @@ open class JavaAnalyserApp(var config: ChapiConfig = ChapiConfig(language = Lang basicNodes: Array ): Array { return files.flatMap { + println("processing file: ${it.absolutePath}") val codeContainer = JavaAnalyser().identFullInfo(readFileAsString(it.absolutePath), it.fileName, classes, basicNodes) codeContainer.DataStructures.map { ds -> ds.apply { ds.Imports = codeContainer.Imports } } }.toTypedArray()