@Override
  public boolean isGeneratedSource(@NotNull final VirtualFile file, @NotNull final Project project) {
    if (file.getName().endsWith("Icons.java")) {
      return ReadAction.compute(() -> {
        PsiFile psiFile = PsiManager.getInstance(project).findFile(file);
        if (psiFile instanceof PsiJavaFile) {
          for (PsiClass aClass : ((PsiJavaFile)psiFile).getClasses()) {
            if (aClass.isValid() && aClass.hasModifierProperty(PsiModifier.PUBLIC)) {
              PsiDocComment comment = aClass.getDocComment();
              if (comment == null) return false;
              String docText = comment.getText();
              return docText.contains("NOTE THIS FILE IS AUTO-GENERATED") &&
                     docText.contains("DO NOT EDIT IT BY HAND");
            }
          }
        }
        return false;
      });
    }
    return false;
  }
@Override
  public boolean isGeneratedSource(@NotNull final VirtualFile file, @NotNull final Project project)