Top Description Fields Constructors Methods
org.droidparts.dexmaker.dx.dex.code

public final Class RopToDop

extends Object
Class Inheritance
Imports
org.droidparts.dexmaker.dx.rop.code.*, org.droidparts.dexmaker.dx.rop.cst.Constant, .CstFieldRef, .CstString, .CstType, org.droidparts.dexmaker.dx.rop.type.Type, java.util.HashMap

Translator from rop-level Insn instances to corresponding Dop instances.

Field Summary

Modifier and TypeField and Description
private static final HashMap<Rop, Dop>
MAP

non-null; map from all the common rops to dalvik opcodes

Constructor Summary

AccessConstructor and Description
private
RopToDop()

This class is uninstantiable.

Method Summary

Modifier and TypeMethod and Description
public static Dop

Returns:

the corresponding dalvik opcode; one of the constants in Dops
dopFor
(Insn
non-null; the original instruction
insn
)

Returns the dalvik opcode appropriate for the given register-based instruction.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

MAPback to summary
private static final HashMap<Rop, Dop> MAP

non-null; map from all the common rops to dalvik opcodes

Constructor Detail

RopToDopback to summary
private RopToDop()

This class is uninstantiable.

Method Detail

dopForback to summary
public static Dop dopFor(Insn insn)

Returns the dalvik opcode appropriate for the given register-based instruction.

Parameters
insn:Insn

non-null; the original instruction

Returns:Dop

the corresponding dalvik opcode; one of the constants in Dops