void (@NotNull IdeaModule gradleModule, @NotNull DataNode<ModuleData> ideModule) { final AnnotationProcessingModel apModel = resolverCtx.getExtraProject(gradleModule, AnnotationProcessingModel.class); if (apModel == null) { return; } if (!resolverCtx.isResolveModulePerSourceSet()) { final AnnotationProcessingData apData = getMergedAnnotationProcessingData(apModel); DataNode<AnnotationProcessingData> dataNode = ideModule.createChild(AnnotationProcessingData.KEY, apData); populateAnnotationProcessingOutput(dataNode, apModel); } else { Collection<DataNode<GradleSourceSetData>> all = ExternalSystemApiUtil.findAll(ideModule, GradleSourceSetData.KEY); for (DataNode<GradleSourceSetData> node : all) { final AnnotationProcessingData apData = getAnnotationProcessingData(apModel, node.getData().getModuleName()); if (apData != null) { DataNode<AnnotationProcessingData> dataNode = node.createChild(AnnotationProcessingData.KEY, apData); populateAnnotationProcessorOutput(dataNode, apModel, node.getData().getModuleName()); } } } }