List<JpsArtifact> (final JpsModel model) { JpsElementCollection<JpsArtifact> artifactsCollection = model.getProject().getContainer().getChild(SYNTHETIC_ARTIFACTS); if (artifactsCollection == null) { List<JpsArtifact> artifactList = computeSyntheticArtifacts(model); artifactsCollection = model.getProject().getContainer().setChild(SYNTHETIC_ARTIFACTS); for (JpsArtifact artifact : artifactList) { artifactsCollection.addChild(artifact); } } return artifactsCollection.getElements(); }