public RefactoringStatus validateNewName(String newName) { RefactoringStatus status = new RefactoringStatus(); for (IRenameStrategy child : children) status.merge(child.validateNewName(newName)); return status; }
public void revertDeclarationChange(ResourceSet resourceSet) { for (IRenameStrategy child : children) child.revertDeclarationChange(resourceSet); for (JvmOperation dispatcher : dispatchers) { dispatcher.setSimpleName(getOriginalName()); } }
public void createDeclarationUpdates( String newName, ResourceSet resourceSet, IRefactoringUpdateAcceptor updateAcceptor) { for (IRenameStrategy child : children) child.createDeclarationUpdates(newName, resourceSet, updateAcceptor); }
public void applyDeclarationChange(String newName, ResourceSet resourceSet) { for (IRenameStrategy child : children) child.applyDeclarationChange(newName, resourceSet); for (JvmOperation dispatcher : dispatchers) { dispatcher.setSimpleName(newName); } }