**Describe the bug** Consider a fix that adds a statement inside the `dispose` method of a stateful widget. To do so, the fix 1. checks for existing dispose method 2. adds dispose method only if none exists 3. add a statement inside the dispose method The fix works fine when being applied alone, but adds multiple dispose methods with `Fix all`. **Expected behavior** `Fix all` should handle the fix sequentially, and the subsequent fix should respect the changes that the previous fix has made.