Skip to content

Commit f7d2644

Browse files
committed
Re-enable extracting most annotations
1 parent 2654011 commit f7d2644

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ open class KotlinFileExtractor(
238238
addModifiers(id, "out")
239239
}
240240

241-
//extractAnnotations(tp, id)
241+
extractAnnotations(tp, id)
242242
return id
243243
}
244244
}
@@ -832,7 +832,7 @@ open class KotlinFileExtractor(
832832
extractTypeAccessRecursive(substitutedType, location, id, -1)
833833
}
834834
val syntheticParameterNames = isUnderscoreParameter(vp) || ((vp.parent as? IrFunction)?.let { hasSynthesizedParameterNames(it) } ?: true)
835-
//extractAnnotations(vp, id)
835+
extractAnnotations(vp, id)
836836
return extractValueParameter(id, substitutedType, vp.name.asString(), location, parent, idx, useValueParameter(vp, parentSourceDeclaration), syntheticParameterNames, vp.isVararg, vp.isNoinline, vp.isCrossinline)
837837
}
838838
}
@@ -1372,7 +1372,8 @@ open class KotlinFileExtractor(
13721372

13731373
linesOfCode?.linesOfCodeInDeclaration(f, id)
13741374

1375-
//extractAnnotations(f, id)
1375+
if (extractAnnotations)
1376+
extractAnnotations(f, id)
13761377

13771378
return id
13781379
}

0 commit comments

Comments
 (0)