Improve the code quality of MethodWriter.

4 jobs for improve-methodwriter in 10 minutes and 3 seconds (queued for 2 seconds)