Some more refactorings would be nice:
In a single step it lets you turn naughtily exposed public variables
(and even default static finals) into private ones with optional
getters/setters. But the tricky part is it converts all references
outside the class to use the getters/setters. Handles both static and
Convert a class with static methods to make some of them instance
methods. It then converts all calls to those methods outside the
class to instance calls using a dummy variable named the same as the
class but starting with a lower case letter. This in general will not
compile, but it will get you most of the way there accurately.
I suppose, while you are at it, you should be able to convert instance
methods back to static and tidy up the calls to use Class name rather
in than object reference.
Roedy Green Canadian Mind Products
If we have learned one thing from the history of invention and discovery, it is that, in the long run � and often in the short one � the most daring prophecies seem laughably conservative.
~ Arthur C. Clarke (born: 1917-12-16 died: 2008-03-19 at age: 90)