Package soot.dexpler.instructions
Class MoveExceptionInstruction
- java.lang.Object
-
- soot.dexpler.instructions.DexlibAbstractInstruction
-
- soot.dexpler.instructions.MoveExceptionInstruction
-
- All Implemented Interfaces:
RetypeableInstruction
public class MoveExceptionInstruction extends DexlibAbstractInstruction implements RetypeableInstruction
-
-
Field Summary
Fields Modifier and Type Field Description protected TyperealTypeprotected IdentityStmtstmtToRetype-
Fields inherited from class soot.dexpler.instructions.DexlibAbstractInstruction
codeAddress, instruction, lineNumber, unit
-
-
Constructor Summary
Constructors Constructor Description MoveExceptionInstruction(org.jf.dexlib2.iface.instruction.Instruction instruction, int codeAdress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidjimplify(DexBody body)Jimplify this instruction.voidretype(Body body)Do actual retype.voidsetRealType(DexBody body, Type t)Swap generic exception type with the given one.-
Methods inherited from class soot.dexpler.instructions.DexlibAbstractInstruction
addTags, getInstruction, getLineNumber, getUnit, getUsedRegistersNums, getUsedRegistersNums, introducedTypes, setLineNumber, setUnit
-
-
-
-
Field Detail
-
realType
protected Type realType
-
stmtToRetype
protected IdentityStmt stmtToRetype
-
-
Method Detail
-
jimplify
public void jimplify(DexBody body)
Description copied from class:DexlibAbstractInstructionJimplify this instruction.- Specified by:
jimplifyin classDexlibAbstractInstruction- Parameters:
body- to jimplify into.
-
setRealType
public void setRealType(DexBody body, Type t)
Description copied from interface:RetypeableInstructionSwap generic exception type with the given one.- Specified by:
setRealTypein interfaceRetypeableInstruction- Parameters:
body- the body that contains the instructiont- the real type.
-
retype
public void retype(Body body)
Description copied from interface:RetypeableInstructionDo actual retype. Retyping is separated from setting the type, to make it possible to retype after local splitting.- Specified by:
retypein interfaceRetypeableInstruction- Parameters:
body- The body containing the processed statement
-
-