public FeatureFlag forName(String name) throws BadApiRequestException {
  FeatureFlag flag=NAMES_TO_VALUES.get(name.toUpperCase(Locale.ENGLISH));
  return flag != null ? flag : Utils.<FeatureFlag>insteadThrowRuntime(new BadApiRequestException("Invalid feature flag: " + name));
}

public FeatureFlag forName ( String name ) throws BadApiRequestException { FeatureFlag flag = NAMES_TO_VALUES . get ( name . toUpperCase ( Locale . ENGLISH ) ) ; return flag != null ? flag : Utils . < FeatureFlag > insteadThrowRuntime ( new BadApiRequestException ( "Invalid feature flag: " + name ) ) ; }
get a registered featureflag by name .
