public String recordPath(Object obj, String path, String key) {
		if (path.endsWith("]")) {
			path += "." + key;
		}
		else {
			path += key(key);
		}
		objectRegistry.put(path, obj);
		if (!reverseRegistry.containsKey(obj)) {
			reverseRegistry.put(obj, path);
		}
		return path;
	}
TODO: The return type should be reflected from the method; however, none of the parameter
collection routines currently use the return type, so just use ANY for now.
Ghidra/Debug/Debugger-jpda/src/main/java/ghidra/dbg/jdi/rmi/jpda/JdiConnector.java