Package soot.dexpler.instructions
Interface RetypeableInstruction
-
- All Known Implementing Classes:
MoveExceptionInstruction
public interface RetypeableInstructionInterface for instructions that can/must be retyped, i.e. instructions that assign to a local and have to retype it after local splitting.- Author:
- Michael Markert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidretype(Body body)Do actual retype.voidsetRealType(DexBody body, Type t)Swap generic exception type with the given one.
-
-
-
Method Detail
-
setRealType
void setRealType(DexBody body, Type t)
Swap generic exception type with the given one.- Parameters:
body- the body that contains the instructiont- the real type.
-
retype
void retype(Body body)
Do actual retype. Retyping is separated from setting the type, to make it possible to retype after local splitting.- Parameters:
body- The body containing the processed statement
-
-