code: public static QuickAnalysisStrategy loadFromUserPreferences(final UserPreferences userPreferences) {
          final Map<String, String> properties = userPreferences.getAdditionalProperties();
  
          final int columnsPerAnalyzer =
                  MapUtils.getIntValue(properties, USER_PREFERENCES_NAMESPACE + ".columnsPerAnalyzer", 5);
          final boolean includeValueDistribution =
                  MapUtils.getBooleanValue(properties, USER_PREFERENCES_NAMESPACE + ".includeValueDistribution", false);
          final boolean includePatternFinder =
                  MapUtils.getBooleanValue(properties, USER_PREFERENCES_NAMESPACE + ".includePatternFinder", false);
  
          return new QuickAnalysisStrategy(columnsPerAnalyzer, includeValueDistribution, includePatternFinder);
      }
docs: Loads {@link QuickAnalysisStrategy} from a {@link UserPreferences}
  object.
  
  @param userPreferences
  @return