anchor.diff:  
     public void <%= method_name %>(<%= (method.parameters.select{|parameter| !parameter.imit.environmental?}.collect{|p| "#{annotated_type(p, :imit, :default, :final => true)} #{p.name}" } + ["final @javax.annotation.Nullable #{service.data_module.repository.gwt.qualified_async_callback_name}<#{method.return_value.imit.non_primitive_java_type}> callback","final @javax.annotation.Nullable #{service.data_module.repository.gwt.qualified_async_error_callback_name} errorCallback"]).join(', ') %>)
     {
  -  <% method.parameters.select{|parameter| parameter.reference? && parameter.collection?}.each do |parameter| %>
  +  <% method.parameters.select{|parameter| (parameter.reference? || parameter.remote_reference?) && parameter.collection?}.each do |parameter| %>
       <%= annotated_type(parameter, :gwt_rpc, :boundary, :final => true) %> $<%= parameter.name %> = <%= parameter.nullable? ? "null == #{parameter.name} ? null : " : '' %>new java.util.<%=  parameter.collection_type == :set ? 'HashSet' : 'ArrayList' %><<%= parameter.gwt_rpc.java_component_type(:boundary) %>>();
       <% if parameter.nullable? %>if( null != <%= parameter.name %> ) {<% end %>
       for( final <%= parameter.imit.java_component_type %> entity: <%= parameter.name %> )
  
positive.code:      result_string = 'result'
       if method.return_value.reference?
         result_string = "_repository.getByID( #{method.return_value.referenced_entity.imit.qualified_name}.class, result )"
       end
       if method.return_value.nullable?
         result_string = "null == result ? null : #{result_string}"
       end
     elsif method.return_value.reference?
       result_string = '$result'
     else
       result_string = 'result'
     end
  %>
    <% if method.return_value.collection? && method.return_value.reference? %>
          <%= annotated_type(method.return_value, :imit, :default, :final => true) %> $result = <% if method.return_value.nullable? %>null == result ? null : <% end %>new java.util.<%=  method.return_value.collection_type == :set ? 'HashSet' : 'ArrayList' %><<%= method.return_value.imit.java_component_type %>>();
          if( null != result )
          {
  
negative.code:              param_value =
               if method.return_value.reference?
                 "_repository.getByID( #{method.return_value.referenced_entity.imit.qualified_name}.class, id )"
               elsif method.return_value.remote_reference?
                 "_repository.getByID( #{method.return_value.referenced_remote_entity.imit.qualified_name}.class, id )"
               end
            %>
            $result.add( <%= param_value %> );
  