List<Artifact> (Project project) { final List<Artifact> result = new ArrayList<>(); for (Artifact artifact : ArtifactManager.getInstance(project).getSortedArtifacts()) { if (!StringUtil.isEmpty(artifact.getOutputPath())) { result.add(artifact); } } return result; }