if (desc != null){
HashMap<IPath, LinkDescription> linfo =
(HashMap<IPath, LinkDescription>)desc.getLinks();
if (linfo != null){
for (IPath path : linfo.keySet()){
LinkDescription link = linfo.get(path);
IResource member = project.findMember(link.getProjectRelativePath());
IFileStore store = EFS.getStore(member.getLocationURI());
String resolvedPath = store != null ?
store.toString() : link.getLocationURI().getPath();
links.put(path.toString(), resolvedPath.replace("\\", "/"));
}
}
}