private @Nullable OccurenceInfo goNextOccurrence(boolean next) {
      InspectionTreeNode node = getNextOccurrence(next);
      if (node == null) return null;
      selectNode(node);
      return Registry.is("ide.usages.next.previous.occurrence.only.show.in.preview") && InspectionTree.this.isShowing()
             ? null
             : new OccurenceInfo(createDescriptorForNode(node), -1, -1);
    }
private @Nullable OccurenceInfo goNextOccurrence(boolean next)