private List<SourceFile> getSimilarSourceFilesInSwf(final SwfInfo info, final SourceFile file) throws InProgressException {
if (!info.isProcessingComplete()) {
// IDEA-94128. For unknown reason m_fileInfo.getSwfs() may contain "unknown" swf which is marked as not fully loaded,
// but in fact containing full list of correct sources. At the same time correct swf doesn't contain sources.
if (!(info instanceof DSwfInfo) || !((DSwfInfo) info).hasAllSource()) {
throw new InProgressException();
}
}
final List<SourceFile> result = new LinkedList<SourceFile>();