code: public SourceSnippet createMethodInjections(Iterable<? extends MethodLiteral<?, ?>> methods,
        String injecteeName, NameGenerator nameGenerator, List<InjectorMethod> methodsOutput)
        throws NoSourceNameException {
  
      SourceSnippetBuilder methodInvocations = new SourceSnippetBuilder();
  
      for (MethodLiteral<?, ?> method : methods) {
        methodInvocations
            .append(methodCallUtil.createMethodCallWithInjection(method, injecteeName, nameGenerator,
                methodsOutput))
            .append("\n");
      }
  
      return methodInvocations.build();
    }
docs: Creates a method injecting method and returns a string that invokes the new
  method.  The values for the passed method's parameters are retrieved
  through the {@link com.google.gwt.inject.client.Ginjector}.
  <p/>
  If the passed method collection contains only one actual method, the native
  method will pass on (i.e. return) the result of the actual method's
  invocation, if any.
  <p/>
  The passed method collection can contain constructors (they'll be treated
  correctly) if no {@code injecteeName} is passed.  The same applies for
  static methods.
  <p/>
  If a method without parameters is provided, that method will be called and
  no parameters will be passed.
  
  @param methods methods to be called & injected
  @param injecteeName variable that references the object into which values
  are injected, in the context of the returned call string. If
  {@code null} all passed methods are called as static/constructors.
  @param nameGenerator NameGenerator to be used for ensuring method name uniqueness
  @param methodsOutput a list where all new methods created by this
  call are added
  @return source snippet calling the generated method