public static boolean isGwtVersionKnownAndAtLeast25(String directoryName){
  if (!directoryName.startsWith("gwt-")) {
    return false;
  }
  return SdkUtils.compareVersionStrings(directoryName.substring(4),"2.5.0") >= 0;
}

public static boolean isGwtVersionKnownAndAtLeast25 ( String directoryName ) { if ( ! directoryName . startsWith ( "gwt-" ) ) { return false ; } return SdkUtils . compareVersionStrings ( directoryName . substring ( 4 ) , "2.5.0" ) >= 0 ; }
returns if the version - containing directory name is > = gwt 2 . 5 .
