On Thu, Nov 26, 2009 at 4:01 PM, Robert Graf-Waczenski <r...@lsoft.com> wrote:
> Hi,
>
> we do of course use a refactoring tool, but we are talking about a huge
> amount of methods. I'm not aware of a refactoring tool that would allow me
> to rename *all* methods in *one* step.

jEdit should be powerful enough to open each java file in project
directory, find all strings matching regex:
([sg]et)([a-z])Property\(
replace it with:
$1\u$2Property\(

This should work for both getters and setters and make first character
upper case, assuming you have get[1character]Property() pattern.

All this in one step.


-- 
Pozdrawiam / Best Regards
Rafal Krupinski
http://www.linkedin.com/in/krupinskir

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to