ArrayList<QNameFile> qNameFiles = new ArrayList<QNameFile>(1);
int order = 0;
for (Map.Entry<DirectoryID, HashSet<QNameFile>> sourcePathEntry : sourcePaths.entrySet())
{
DirectoryID dir = sourcePathEntry.getKey();
String qname = computeQName(dir.getFile(), f);
if (qname != null)
{
String locale = null;
if(compilerProject instanceof IFlexProject)
locale = ((IFlexProject)compilerProject).getResourceLocale(dir.getFile().getAbsolutePath());
QNameFile newQNameFile = new QNameFile(qname, f, locale, order);
sourcePathEntry.getValue().add(newQNameFile);
qNameFiles.add(newQNameFile);
}