void (CompilerMessage message, @NotNull UUID sessionId) { final VirtualFile file = message.getVirtualFile(); Navigatable navigatable = message.getNavigatable(); if (navigatable == null && file != null && !file.getFileType().isBinary()) { navigatable = new OpenFileDescriptor(myProject, file, -1, -1); } final CompilerMessageCategory category = message.getCategory(); final int type = CompilerTask.translateCategory(category); final String[] text = convertMessage(message); final String groupName = file != null? file.getPresentableUrl() : category.getPresentableText(); addMessage(type, text, groupName, navigatable, message.getExportTextPrefix(), message.getRenderTextPrefix(), sessionId); }