Package com.android.dx.dex.code
Class RopTranslator
java.lang.Object
com.android.dx.dex.code.RopTranslator
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.-
Method Summary
Modifier and TypeMethodDescriptionstatic DalvCode
translate
(RopMethod method, int positionInfo, LocalVariableInfo locals, int paramSize, DexOptions dexOptions) Translates aRopMethod
.
-
Method Details
-
translate
public static DalvCode translate(RopMethod method, int positionInfo, LocalVariableInfo locals, int paramSize, DexOptions dexOptions) Translates aRopMethod
. This may modify the given input.- Parameters:
method
-non-null;
the original methodpositionInfo
- how much position info to preserve; one of the static constants inPositionList
locals
-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
-