code: public static String generateJavascript(Class<?> clazz, OutputFormat format,
  			boolean debug) {
  		OutputConfig outputConfig = new OutputConfig();
  		outputConfig.setIncludeValidation(IncludeValidation.NONE);
  		outputConfig.setOutputFormat(format);
  		outputConfig.setDebug(debug);
  
  		ModelBean model = createModel(clazz, outputConfig);
  		return generateJavascript(model, outputConfig);
  	}
docs: Instrospects the provided class, creates a model object (JS code) and returns it.
  This method does not add any validation configuration.
  
  @param clazz class that the generator should introspect
  @param format specifies which code (ExtJS or Touch) the generator should create
  @param debug if true the generator creates the output in pretty format, false the
  output is compressed
  @return the generated model object (JS code)