Class RopTranslator
java.lang.Object
com.android.dx.dex.code.RopTranslator
Translator from
RopMethod to DalvCode. The translate(RopMethod, int, LocalVariableInfo, int, DexOptions) method is the thing to call on this class.-
Method Summary
Modifier and TypeMethodDescriptionstatic DalvCodetranslate(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 inPositionListlocals-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
-