public static GhidraClass convertNamespaceToClass(Namespace namespace)
			throws InvalidInputException {

		Symbol namespaceSymbol = namespace.getSymbol();
		SymbolTable symbolTable = namespaceSymbol.getProgram().getSymbolTable();
		return symbolTable.convertNamespaceToClass(namespace);
	}
Convert a namespace to a class by copying all namespace children into a newly created class
and then removing the old namespace

@param namespace namespace to be converted
@return new class namespace
@throws InvalidInputException if namespace was contained within a function and can not be
			converted to a class
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/NamespaceUtils.java