private static String[] getRelativeCategoryPaths(Namespace namespace) {
		if (namespace == null || namespace.isGlobal() || namespace.isLibrary()) {
			return null;
		}
		String[] paths = new String[2];
		StringBuilder buf = new StringBuilder();
		for (String n : namespace.getParentNamespace().getPathList(true)) {
			buf.append(CategoryPath.DELIMITER_STRING);
			buf.append(CategoryPath.escapeString(n));
		}
		paths[PARENT_NAMESPACE_PATH_INDEX] = buf.toString();
		buf.append(CategoryPath.DELIMITER_STRING);
		buf.append(CategoryPath.escapeString(namespace.getName()));
		paths[NAMESPACE_PATH_INDEX] = buf.toString();
		return paths;
	}
Get relative/partial category paths which corresponds to a specified namespace.
Any {@link Library} namespace will be ignored and treated like the global namespace 
when generating a related category path. An empty string will be returned for the
global namespace.
@param namespace data type namespace
@return partial two-element array with category path for namespace [NAMESPACE_PATH_INDEX] 
and parent-namespace [PARENT_NAMESPACE_PATH_INDEX].
A null is returned if namespace is null or the root/global namespace.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/DataTypeUtilities.java