public SourceSnippet getCreationStatements(NameGenerator nameGenerator,
      List<InjectorMethod> methodsOutput) throws NoSourceNameException {
    String moduleSourceName = ReflectUtil.getSourceName(moduleType);
    String createModule = "new " + moduleSourceName + "()";
    String type = ReflectUtil.getSourceName(targetKey.getTypeLiteral());

    return new SourceSnippetBuilder()
        .append(type).append(" result = ")
        .append(methodCallUtil.createMethodCallWithInjection(providerMethod, createModule,
            nameGenerator, methodsOutput))
        .build();
  }
public SourceSnippet getCreationStatements ( NameGenerator nameGenerator , List < InjectorMethod > methodsOutput ) throws NoSourceNameException { String moduleSourceName = ReflectUtil . getSourceName ( moduleType ) ; String createModule = "new " + moduleSourceName + "()" ; String type = ReflectUtil . getSourceName ( targetKey . getTypeLiteral ( ) ) ; return new SourceSnippetBuilder ( ) . append ( type ) . append ( " result = " ) . append ( methodCallUtil . createMethodCallWithInjection ( providerMethod , createModule , nameGenerator , methodsOutput ) ) . build ( ) ; }
provider methods.