We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95a9faf + 8a5cb11 commit 4a8d08eCopy full SHA for 4a8d08e
java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt
@@ -389,11 +389,7 @@ open class KotlinFileExtractor(
389
with("class source", c) {
390
DeclarationStackAdjuster(c).use {
391
392
- val id = if (c.isAnonymousObject) {
393
- useAnonymousClass(c).javaResult.id.cast<DbClass>()
394
- } else {
395
- useClassSource(c)
396
- }
+ val id = useClassSource(c)
397
val pkg = c.packageFqName?.asString() ?: ""
398
val cls = if (c.isAnonymousObject) "" else c.name.asString()
399
val pkgId = extractPackage(pkg)
0 commit comments