Class FixVar

java.lang.Object
com.googlecode.dex2jar.ir.ts.FixVar
All Implemented Interfaces:
Transformer

public class FixVar extends Object implements Transformer
the LocalVar.reg in LocalVar may be replaced by a constant value in ConstTransformer. This class try to insert a new local before LocalVar.start.

before:

   ...
 L0:
   return a0
 L1:
 ======
 .var L0 ~ L1 1 -> test // int
 

after:

   ...
   d1 = 1
 L0:
   return a0
 L1:
 ======
 .var L0 ~ L1 d1 -> test // int
 
  • Constructor Details

    • FixVar

      public FixVar()
  • Method Details