static <F extends Enum<F> & MapperConfig.ConfigFeature>int collectFeatureDefaults(Class<F> enumClass){
  int flags=0;
  for (  F value : enumClass.getEnumConstants()) {
    if (value.enabledByDefault()) {
      flags|=value.getMask();
    }
  }
  return flags;
}

static < F extends Enum < F > & MapperConfig . ConfigFeature > int collectFeatureDefaults ( Class < F > enumClass ) { int flags = 0 ; for ( F value : enumClass . getEnumConstants ( ) ) { if ( value . enabledByDefault ( ) ) { flags |= value . getMask ( ) ; } } return flags ; }
method that calculates bit set ( flags ) of all features that are enabled by default .
