Interface MethodData.Results

    • Method Detail

      • notifyUpdate

        boolean notifyUpdate​(MethodData info,
                             IInstruction[] newInstructions,
                             ExceptionHandler[][] newHandlers,
                             int[] newInstructionMap)
        This method is called just before the code for a method changes. The existing instructions, handlers, etc can be read from the current info.
        Parameters:
        info - the method data this annotation is attached to
        newInstructions - the instructions the method will change to
        newHandlers - the handler lists the method will change to
        newInstructionMap - the instructions-to-bytecodes map the method will change to
        Returns:
        true to remove the object from the info set, for example because the annotation is now invalid