public SourceSnippet createConstructorInjection ( MethodLiteral < ? , Constructor < ? > > constructor , NameGenerator nameGenerator , List < InjectorMethod > methodsOutput ) throws NoSourceNameException { return createMethodCallWithInjection ( constructor , null , nameGenerator , methodsOutput ) ; }
Creates a constructor injecting method and returns a string that invokes the new method . The new method returns the constructed object .