private static boolean isNullOrNonNavigatable(@Nullable Navigatable navigatable) {
    return navigatable == null || navigatable == NonNavigatable.INSTANCE;
  }
private static boolean isNullOrNonNavigatable(@Nullable Navigatable navigatable)