procyon icon indicating copy to clipboard operation
procyon copied to clipboard

Can procyon rename local variables?

Open minus1ms opened this issue 3 years ago • 0 comments

It's generating that code:

public G(final some 0) {
        super();
        this.field = 0;
    }

from that bytecode:

DEFINE PUBLIC <init>(Lsomething/some; 1)V
A:
ALOAD this
INVOKESPECIAL java/lang/RuntimeException.<init>()V
ALOAD this
ALOAD 1
PUTFIELD something/G.field Lsomething/some;
RETURN
B:
C:

but it should change 1 from ALOAD to var1 for example

minus1ms avatar May 05 '22 10:05 minus1ms