void (Project project, List<VirtualFile> files) { if (!files.isEmpty()) { StringBuilder fileNames = new StringBuilder(); for (VirtualFile file : files) { if (fileNames.length() != 0) fileNames.append(", "); fileNames.append("'").append(file.getName()).append("'"); } String time = Holder.TIME_FORMAT.format(Clock.getTime()); final String statusText = JavaCompilerBundle.message("status.text.file.has.been.packaged", files.size(), fileNames, time); final StatusBar statusBar = WindowManager.getInstance().getStatusBar(project); if (statusBar != null) { statusBar.setInfo(statusText); } } }