boolean (UsageInfo @NotNull [] usages, @NotNull Project project) { for (UsageInfo usage : usages) { VirtualFile file = usage.getVirtualFile(); if (file != null && GeneratedSourcesFilter.isGeneratedSourceByAnyFilter(file, project)) { return true; } } return false; }