Interface RetypeableInstruction

  • All Known Implementing Classes:
    MoveExceptionInstruction

    public interface RetypeableInstruction
    Interface 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 Detail

      • setRealType

        void setRealType​(DexBody body,
                         Type t)
        Swap generic exception type with the given one.
        Parameters:
        body - the body that contains the instruction
        t - 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