How to disassemble Scala code? Can it be done without first building the Jar and decompiling the resulting
.class files, or alternatively a faster way to do so?
In Python you have dis and the following is an example of how it's used:
def myfunc(alist): return len(alist) >>> dis.dis(myfunc) 2 0 LOAD_GLOBAL 0 (len) 3 LOAD_FAST 0 (alist) 6 CALL_FUNCTION 1 9 RETURN_VALUE