diff --git a/java/kotlin-extractor/src/main/kotlin/comments/CommentExtractor.kt b/java/kotlin-extractor/src/main/kotlin/comments/CommentExtractor.kt index 0cc5b66cf5e..2e3474d85d2 100644 --- a/java/kotlin-extractor/src/main/kotlin/comments/CommentExtractor.kt +++ b/java/kotlin-extractor/src/main/kotlin/comments/CommentExtractor.kt @@ -144,7 +144,7 @@ class CommentExtractor(private val fileExtractor: KotlinFileExtractor, private v return null } // Assign the comment to the class. The content of the `init` blocks might be extracted in multiple constructors. - return fileExtractor.getClassLabel(parentClass, listOf()).classLabel + return getLabel(parentClass) } // Fresh entities: