}
for (Iterator i = s.iterator(); i.hasNext(); )
{
String rbName = NameFormatter.toColon((String) i.next());
QName qName = new QName(rbName);
VirtualFile[] files = bundlePath.findVirtualFiles(rbName);
if (files == null)
{
files = swcContext.getVirtualFiles(locales, qName.getNamespace(), qName.getLocalPart());
}
if (files == null)
{
// Handle Flex 2 style precompiled resource bundles.
QName precompiledQName = new QName(rbName + I18nUtils.CLASS_SUFFIX);
Source source = swcContext.getSource(precompiledQName.getNamespace(),
precompiledQName.getLocalPart());
if (source != null)
{
//FIXME I don't know if this logic is correct or possible.
// to my knowledge, getExterns() always returns String across the compiler