boolean (ModuleChunk chunk, DirtyFilesHolder<JavaSourceRootDescriptor, ModuleBuildTarget> dirtyFilesHolder) { if (dirtyFilesHolder.hasRemovedFiles()) { for (ModuleBuildTarget target : chunk.getTargets()) { if (!dirtyFilesHolder.getRemovedFiles(target).isEmpty()) { return true; } } } return false; }