void createReturnOcelotPromiseFactory(String classname, String methodName, boolean ws, String args, String keys, Writer writer) throws IOException {
		String md5 = keyMaker.getMd5(classname + DOT + methodName);
		writer.append(TAB3).append("return promiseFactory.create").append(OPENPARENTHESIS).append("_ds").append(COMMA).append(SPACEOPTIONAL)
				  .append(QUOTE).append(md5).append(UNDERSCORE).append(QUOTE)
				  .append(" + JSON.stringify([").append(keys).append("]).md5()").append(COMMA).append(SPACEOPTIONAL)
				  .append(QUOTE).append(methodName).append(QUOTE).append(COMMA).append(SPACEOPTIONAL).append(""+ws).append(COMMA)
				  .append(SPACEOPTIONAL).append(OPENBRACKET).append(args).append(CLOSEBRACKET).append(CLOSEPARENTHESIS)
				  .append(SEMICOLON).append(CR);
	}
void createReturnOcelotPromiseFactory ( String classname , String methodName , boolean ws , String args , String keys , Writer writer ) throws IOException { String md5 = keyMaker . getMd5 ( classname + DOT + methodName ) ; writer . append ( TAB3 ) . append ( "return promiseFactory.create" ) . append ( OPENPARENTHESIS ) . append ( "_ds" ) . append ( COMMA ) . append ( SPACEOPTIONAL ) . append ( QUOTE ) . append ( md5 ) . append ( UNDERSCORE ) . append ( QUOTE ) . append ( " + JSON.stringify([" ) . append ( keys ) . append ( "]).md5()" ) . append ( COMMA ) . append ( SPACEOPTIONAL ) . append ( QUOTE ) . append ( methodName ) . append ( QUOTE ) . append ( COMMA ) . append ( SPACEOPTIONAL ) . append ( "" + ws ) . append ( COMMA ) . append ( SPACEOPTIONAL ) . append ( OPENBRACKET ) . append ( args ) . append ( CLOSEBRACKET ) . append ( CLOSEPARENTHESIS ) . append ( SEMICOLON ) . append ( CR ) ; }
Return body js line that return the OcelotPromise
@param classname
@param methodName
@param args
@param keys
@param writer
@throws IOException