code: public static ModelBean createModel(Class<?> clazz,
  			IncludeValidation includeValidation) {
  		OutputConfig outputConfig = new OutputConfig();
  		outputConfig.setIncludeValidation(includeValidation);
  		return createModel(clazz, outputConfig);
  	}
docs: Instrospects the provided class and creates a {@link ModelBean} instance. A program
  could customize this and call
  {@link #generateJavascript(ModelBean, OutputFormat, boolean)} or
  {@link #writeModel(HttpServletRequest, HttpServletResponse, ModelBean, OutputFormat)}
  to create the JS code. Models are being cached. A second call with the same
  parameters will return the model from the cache.
  
  @param clazz the model will be created based on this class.
  @param includeValidation specifies what validation configuration should be added
  @return a instance of {@link ModelBean} that describes the provided class and can
  be used for Javascript generation.