[FE] Disable SKIP_DEBUG flag when building java model from binaries

This is needed to avoid skipping jvm annotations with names of
  function parameters
This commit is contained in:
Dmitriy Novozhilov
2020-11-23 10:46:38 +03:00
parent bf1abed246
commit 02f71a63b8
@@ -77,7 +77,7 @@ class BinaryJavaClass(
try {
ClassReader(classContent ?: virtualFile.contentsToByteArray()).accept(
this,
ClassReader.SKIP_CODE or ClassReader.SKIP_DEBUG or ClassReader.SKIP_FRAMES
ClassReader.SKIP_CODE or ClassReader.SKIP_FRAMES
)
} catch (e: Throwable) {
throw IllegalStateException("Could not read class: $virtualFile", e)