private VariantInfo getNextVariant() {
      int currentIndex = myVariants.indexOf(myCurrentVariant);
      return myVariants.get(currentIndex < myVariants.size() - 1 ? currentIndex + 1 : 0);
    }
private VariantInfo getNextVariant()