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.

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$        }

1 comment
Comment actions Permalink

Did you ever managed to get this working? I need the reverse in fact: adding m_ to all fields.


Please sign in to leave a comment.