String (BuildArtifactsBeforeRunTask task) { final List<ArtifactPointer> pointers = task.getArtifactPointers(); if (pointers.isEmpty()) { return JavaCompilerBundle.message("build.artifacts.before.run.description.empty"); } if (pointers.size() == 1) { return JavaCompilerBundle.message("build.artifacts.before.run.description.single", pointers.get(0).getArtifactName()); } return JavaCompilerBundle.message("build.artifacts.before.run.description.multiple", pointers.size()); }