private void checkForDuplicates() {
		Category parent = category.getParent();
		if (parent == null) {
			return;
		}
		if (parent.getCategory(replacement) != null) {
			setStatus(QuickFixStatus.WARNING,
				"The name \"" + replacement + "\" already exists in category \"" +
					parent.getCategoryPathName() + "\"");
		}
	}
Constructor
@param program the program containing the category to be renamed
@param category the category to be renamed
@param newName the new name for the category
Ghidra/Features/Base/src/main/java/ghidra/features/base/replace/items/RenameCategoryQuickFix.java