boolean (Artifact artifact, final Set<? extends Module> modules, final PackagingElementResolvingContext context) { return !ArtifactUtil.processPackagingElements(artifact, ProductionModuleOutputElementType.ELEMENT_TYPE, moduleOutputPackagingElement -> { final Module module = moduleOutputPackagingElement.findModule(context); return module == null || !modules.contains(module); }, context, true); }