void (@NotNull Collection<? extends Artifact> artifacts) { myState.myArtifactsToBuild.clear(); for (Artifact artifact : artifacts) { myState.myArtifactsToBuild.add(artifact.getName()); } Collections.sort(myState.myArtifactsToBuild); }