See how to use refactoring. Feature that allows you to change name of objects in your database, editors as well as Java files.