private void emitMapPut(Method method,String fieldName,StringBuilder builder){
  builder.append("    public void ");
  builder.append(getMapPutterName(fieldName));
  builder.append("(String k, ");
  builder.append(getTypeArgumentImplName((ParameterizedType)method.getGenericReturnType(),1));
  builder.append(" v) {\n      ");
  builder.append(getEnsureName(fieldName));
  builder.append("();\n      ");
  builder.append(fieldName);
  builder.append(".put(k, v);\n");
  builder.append("    }\n\n");
}

private void emitMapPut ( Method method , String fieldName , StringBuilder builder ) { builder . append ( "    public void " ) ; builder . append ( getMapPutterName ( fieldName ) ) ; builder . append ( "(String k, " ) ; builder . append ( getTypeArgumentImplName ( ( ParameterizedType ) method . getGenericReturnType ( ) , 1 ) ) ; builder . append ( " v) {\n      " ) ; builder . append ( getEnsureName ( fieldName ) ) ; builder . append ( "();\n      " ) ; builder . append ( fieldName ) ; builder . append ( ".put(k, v);\n" ) ; builder . append ( "    }\n\n" ) ; }
emits a put method to put a value into a map . if the map is null , it is created .
