Renaming a Class, Field, or Interface

You can rename a class, field, or interface by modifying its declaration in the compilation unit in which it is declared. However, if you also want to update all references to it, you can either: