</BUG>
) ||
( newPsiFile.getLanguageDialect() == null &&
newPsiFile instanceof PsiFileBase &&
<BUG>newPsiFile.getLanguage().getParserDefinition() == ((PsiFileBase)newPsiFile).getParserDefinition()
</BUG>
);
}
private class MyModuleRootListener implements ModuleRootListener {
private VirtualFile[] myOldContentRoots = null;

else myVFileToViewProviderMap.remove(vFile);
}
}
private static boolean languageDialectChanged(final PsiFile newPsiFile) {
return ( newPsiFile.getLanguageDialect() != null &&
newPsiFile.getLanguageDialect().getParserDefinition().getClass() != newPsiFile.getLanguage().getParserDefinition().getClass()
) ||
( newPsiFile.getLanguageDialect() == null &&
newPsiFile instanceof PsiFileBase &&
newPsiFile.getLanguage().getParserDefinition().getClass() == ((PsiFileBase)newPsiFile).getParserDefinition().getClass()
);
}
private class MyModuleRootListener implements ModuleRootListener {
private VirtualFile[] myOldContentRoots = null;
