public static int getHoveredIndex(@NotNull Component component) {
      return Optional.ofNullable(ClientProperty.get(component, HOVER_INDEX)).orElse(-1);
    }
public static int getHoveredIndex(@NotNull Component component)