private CodeBlock constructorCallCode ( ClassName className , ImmutableList < ? extends JParameterizedMapper > parameters ) { CodeBlock . Builder builder = CodeBlock . builder ( ) ; builder . add ( "new $T" , className ) ; return methodCallCodeWithJParameterizedMapperParameters ( builder , parameters ) ; }
Build the code to call the constructor of a class