@Nullable public AndroidStudioWizardPath next(){
  while (myCurrentIndex < (myList.size() - 1)) {
    AndroidStudioWizardPath next=myList.get(++myCurrentIndex);
    if (next.isPathVisible()) {
      return next;
    }
  }
  return null;
}

@ Nullable public AndroidStudioWizardPath next ( ) { while ( myCurrentIndex < ( myList . size ( ) - 1 ) ) { AndroidStudioWizardPath next = myList . get ( ++ myCurrentIndex ) ; if ( next . isPathVisible ( ) ) { return next ; } } return null ; }
advance to the next visible path and return it , or null if there are no following visible paths
