raphw/byte-buddy

Questions about alternatives to the LocalVariablesSorter class obsoletization

Closed this issue · 5 comments

First off - thanks for an awesome library.

The new version of the LocalVariablesSorter class has been deprecated. What is the alternative?

Looking forward to your reply.
Thanks!

Thank you for your answer. I think you misunderstood what I meant. What I mean is that the old version of bytebuddy also has this class similar to asm, but it is not found in the new version. I would like to ask if it is deprecated? What are the alternatives? Looking forward to your response.

byte-buddy-0.6.12 net.bytebuddy.jar.asm.commons.LocalVariablesSorter

You can add asm-utils which contains this visitor. You can add it using: ClassVisitorFactory to map between the namespaces.

ok. I roughly understand how to do it. Thank you very much.