OccurenceInfo (TodoItemNode pointer) { if (pointer == null) return null; myTodoTreeBuilder.select(pointer); return new OccurenceInfo( PsiNavigationSupport.getInstance() .createNavigatable(myProject, pointer.getValue().getTodoItem().getFile().getVirtualFile(), pointer.getValue().getRangeMarker().getStartOffset()), -1, -1 ); }