code: void generate( Application application ) {
  
  		// Get the templates
  		Collection<TemplateEntry> templates = Collections.emptyList();
  		synchronized( this.watcherLock ) {
  			if( this.templateWatcher != null )
  				templates = this.templateWatcher.findTemplatesForApplication( application.getName());
  		}
  
  		// Process them
  		generate( application, templates );
  	}
docs: Generates files from templates for a given application.
  <p>
  Templates are retrieved from the watcher.
  </p>
  
  @param application an application (not null)