Batch rename - is that possible?

I have a bunch of class renames I'd like to apply. But I don't want to do them calling rename refactoring from IDEA gui again and again (it' about a hundred classes to rename).
Is there any way to do a batch rename? (writing a script that maps old class name to the new one is not a problem)

I was hoping IDEA's Migrate feature can help. But it considers that renamed classes are external. And so just changes the imports without renaming the classes themselves. :(

Any ideas?
Maybe some other tool to do the job?

--
Actually situation is even worse. Since it's all under ClearCase. And in my experience IDEA deals pretty poor with CC. :(

-Dmitry

Please sign in to leave a comment.