boolean (@NotNull VirtualFile file) { WorkspaceFileSetWithCustomData<ModuleSourceRootData> fileSet = myWorkspaceFileIndex.findFileSetWithCustomData(file, true, true, false, false, false, ModuleSourceRootData.class); return fileSet != null && fileSet.getData().getForGeneratedSources(); }