From 9d8d5740b085e0eaee07f8f3ec42e76c9461ec15 Mon Sep 17 00:00:00 2001 From: Azat Abdullin Date: Tue, 22 Oct 2019 17:15:08 +0300 Subject: [PATCH] quick fix --- src/main/kotlin/org/jetbrains/research/kfg/ClassManager.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/org/jetbrains/research/kfg/ClassManager.kt b/src/main/kotlin/org/jetbrains/research/kfg/ClassManager.kt index d8f8a396..e5f9bd5c 100644 --- a/src/main/kotlin/org/jetbrains/research/kfg/ClassManager.kt +++ b/src/main/kotlin/org/jetbrains/research/kfg/ClassManager.kt @@ -89,6 +89,7 @@ class ClassManager(jar: JarFile, val config: KfgConfig = KfgConfigBuilder().buil classes[name] = when (name) { in failedClasses -> OuterClass(this, ClassNode().also { it.name = name }).also { it.init() } else -> ConcreteClass(this, classNodes.getValue(name)).also { + it.init() it.methods.forEach { method -> if (!method.isAbstract) CfgBuilder(this, method).build() }