Already in 2002
I've just discovered the Quick Fix feature in the F2 build. It's really cool.
One question: Is there a way to change the way it creates methods for you? I would like the new methods to be protected instead of private.
there's no way to do this now.
Please enter a feature request
a.
Ouch. And 7 years later, for the 3.5 edition, it does not seem to have changed one bit. In fact, other quick fixes produce incorrect private methods (in another context though, like bug 271551)
Arguably, in this instance, the generation of private method could be view as a "good practice", forcing the developer to explicitly raise the visibility level of said method (with the adequate javadoc saying why this method could be sub-classed or is even a public one)