Extract scala source code from jar

后端 未结 2 1134
野趣味
野趣味 2021-01-13 05:26

So I have a jar file that contains scala as the source code and I have lost the original code. Is there a way to convert the class files in the jar to scala functions and cl

2条回答
  •  误落风尘
    2021-01-13 06:06

    You'd need a Scala-specific decompiler. There is no reason one couldn't be written, but it would be a large effort and so far as I know nobody has actually done it. Of course, it wouldn't produce exactly the original code, just as decompilers for other languages don't.

提交回复
热议问题