Embed the existing code of a method in a try-finally block
问题 I want to add instructions to the code of methods. These instructions should be executed after reaching and before leaving the method. In order to make sure that the latter instructions are always executed before leaving I want to put these in a finally block. (I know the class AdviceAdapter but it does not ensure the execution of exit-code when an invoked method throws an exception.) My problem is that the instructions in the result are in the wrong order. Method to be processed: @Test