Collection<JpsArtifact> (JpsModel model, boolean includeSynthetic) { List<JpsArtifact> artifacts = JpsArtifactService.getInstance().getArtifacts(model.getProject()); if (!includeSynthetic) { return artifacts; } return ContainerUtil.concat(artifacts, getSyntheticArtifacts(model)); }