A Tracer implementation powered by Akka's LineNumbers bytecode parser (shipped with ZIO, no dependency on Akka)
This parser has been copied from the akka-typed project and modified,
as always these guys are way ahead of us! ;)
This parser has been copied from the
akka-typedproject and modified, as always these guys are way ahead of us! ;)https://github.com/akka/akka/blob/4729a80e7e6f2923a7e6369b21b2693f82c64589/akka-actor/src/main/scala/akka/util/LineNumbers.scala
This is a minimized byte-code parser that concentrates exclusively on line numbers and source file extraction. It works for all normal classes up to format 52:0 (JDK8), and it also works for Lambdas that are Serializable. The latter restriction is due to the fact that the proxy object generated by LambdaMetafactory otherwise contains no information about which method backs this particular lambda (and there might be multiple defined within a single class).