public static String readSymlink(File f) {
		try {
			Path symlink = Files.readSymbolicLink(f.toPath());
			return symlink.toString();
		}
		catch (Throwable th) {
			// ignore and return null
		}
		return null;
	}
Returns the destination of a symlink, or null if not a symlink or other error

@param f {@link File} that is a symlink
@return destination path string of the symlink, or null if not symlink
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FSUtilities.java