Structural replace -- fields rename by pattern
I want to rename all fields in mine VO classes -- they have 'm_' prefix which I'd like to remove.
Now:
private ReportTemplate m_reportTemplate;
Should be:
private ReportTemplate reportTemplate;
I've tried to do it via Structural Replace, but no any success. My last pattern looks like
class $_1$ { void $MethodName$ ($ParameterType$ $Parameter$){ $Var$ = $Parameter$ }
Please sign in to leave a comment.
Did you ever managed to get this working? I need the reverse in fact: adding m_ to all fields.