com.android.dx.dex.code
Class RopTranslator
java.lang.Object
com.android.dx.dex.code.RopTranslator
public final class RopTranslator
- extends Object
Translator from RopMethod to DalvCode. The translate(com.android.dx.rop.code.RopMethod, int, com.android.dx.rop.code.LocalVariableInfo, int, com.android.dx.dex.DexOptions) method is the thing to call on this class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
translate
public static DalvCode translate(RopMethod method,
int positionInfo,
LocalVariableInfo locals,
int paramSize,
DexOptions dexOptions)
- Translates a
RopMethod. This may modify the given
input.
- Parameters:
method - non-null; the original methodpositionInfo - how much position info to preserve; one of the
static constants in PositionListlocals - null-ok; local variable information to useparamSize - size, in register units, of all the parameters to
this methoddexOptions - non-null; options for dex output
- Returns:
non-null; the translated version
Copyright © 2013. All Rights Reserved.