/** * Attempts to change the class name with the owning project. The project * can reject the change if a class with the given new name already * exists; therefore this method should be called before the change is * recorded in the class. */ private void beforeRename(String oldName, String newName) { if ((_project != null) && (oldName != null)) _project.renameClass(oldName, newName, this); } }
/** * Attempts to change the class name with the owning project. The project * can reject the change if a class with the given new name already * exists; therefore this method should be called before the change is * recorded in the class. */ private void beforeRename(String oldName, String newName) { if ((_project != null) && (oldName != null)) _project.renameClass(oldName, newName, this); } }