code: function (name, params) {
  			var result = '<pre class="prettyprint">new ';
  
  			if (name) {
  				result += name + '(';
  			}
  
  			if (params) {
  				params.forEach(function (element, index, array) {
  					result += element.name;
  
  					if (element.optional) {
  						result += '?';
  					}
  
  					if (index < array.length - 1) {
  						result += ', ';
  					}
  				});
  			}
  
  			if (name) {
  				result += ')</pre>';
  			}
  
  			return result;
  		}
docs: Formats the constructor of the class
  @param name
  @param params
  @returns string - The code needed to create an object of that class