void (@NotNull Project project, @NotNull InplaceCommentAppender appender, @NotNull VirtualFile file) { if (!UISettings.getInstance().getShowInplaceComments()) { return; } try { Long timestamp = ((IdeDocumentHistoryImpl)getInstance(project)).recentFileTimestampMap.getValue().get(file.getPath()); if (timestamp != null) { appender.append(" ", SimpleTextAttributes.REGULAR_ATTRIBUTES); appender.append(DateFormatUtil.formatPrettyDateTime(timestamp), SimpleTextAttributes.GRAYED_SMALL_ATTRIBUTES); } } catch (IOException e) { LOG.info("Cannot get a timestamp from a persistent hash map", e); } }