Result (@NotNull String line, int entireLength) { int position = line.indexOf(INPUT_FILE_MESSAGE); if (position >= 0) { VirtualFile file = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(new File(filePath)); if (file == null) { return null; } return new Result(entireLength - filePath.length() - 1, entireLength, new OpenFileHyperlinkInfo(new OpenFileDescriptor(project, file))); } return null; }