I'm trying to do a structural replacement for my project. I have a package with 100+ classes, each with 1-20 fields. Our project is migrating to Hungarian notation, which means all private fields have to be prefixed with m.
I know IntelliJ can add prefixes for new fields, but I don't know the recipe for doing a batch Refactor->Rename for all fields.
Regex doesn't work because said fields are used through the application in all kind of contexts, method calls, assignations, arithmetical ops...
What would be the best approach that's not manual?