void (JpsProductionModuleSourcePackagingElement element, ArtifactCompilerInstructionCreator instructionCreator, ArtifactInstructionsBuilderContext builderContext) { JpsModule module = element.getModuleReference().resolve(); if (module != null) { List<JpsModuleSourceRoot> productionSources = ContainerUtil.filter(module.getSourceRoots(), root -> JavaModuleSourceRootTypes.PRODUCTION.contains(root.getRootType())); generateModuleSourceInstructions(productionSources, instructionCreator, element); } }