void (@NotNull JpsProject project, @Nullable Element componentElement) { JpsArtifactService service = JpsArtifactService.getInstance(); for (Element artifactElement : JDOMUtil.getChildren(componentElement, "artifact")) { ArtifactState state = XmlSerializer.deserialize(artifactElement, ArtifactState.class); JpsArtifactPropertiesSerializer<?> serializer = getTypePropertiesSerializer(state.getArtifactType()); loadArtifact(project, service, state, serializer); } }