Make field private codefix

Can you add a test with a `public static` field? I'm concerned this line might strip the `static` modifier.