@Override
  public boolean accept(PsiFile file) {
    final VirtualFile virtualFile = file.getVirtualFile();
    if (virtualFile != null) {
      String extension = virtualFile.getExtension();
      return extension != null &&
             myExtensions.contains(StringUtil.toLowerCase(extension)) &&
             (myModuleScope == null || myModuleScope.contains(virtualFile));
    }
    return false;
  }
@Override
  public boolean accept(PsiFile file)