private Namespace createUniqueClassName() {
		Namespace rootNamespace = currentProgram.getGlobalNamespace();
		SymbolTable symbolTable = currentProgram.getSymbolTable();
		String newClassBase = "AutoClass";
		String newClassName;
		int index = 1;
		while (true) {
			// cycle until we find unused class/structure name
			newClassName = newClassBase + Integer.toString(index++);
			if (symbolTable.getNamespace(newClassName, rootNamespace) == null &&
				!programContainsNamedStructure(newClassName)) {
				break;
			}
		}
		// Create the class
		try {
			return symbolTable.createClass(rootNamespace, newClassName, SourceType.USER_DEFINED);
		}
		catch (DuplicateNameException | InvalidInputException e) {
			// unexpected unless possible race condition
			Msg.error(this, "Error creating class '" + newClassName + "'", e);
		}
		return null;
	}
Generate a unique Ghidra Class which does not have an existing structure
@return new unique Ghidra Class namespace or null on error
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/util/FillOutStructureHelper.java