diff --git a/processor/src/main/resources/org.mapstruct.ap.model.MethodReference.ftl b/processor/src/main/resources/org.mapstruct.ap.model.MethodReference.ftl index c9b799180..6599b921e 100644 --- a/processor/src/main/resources/org.mapstruct.ap.model.MethodReference.ftl +++ b/processor/src/main/resources/org.mapstruct.ap.model.MethodReference.ftl @@ -18,4 +18,4 @@ limitations under the License. --> -<#if declaringMapper??>${mapperVariableName}.${name}( ${ext.input} ) \ No newline at end of file +<#if declaringMapper??>${mapperVariableName}.${name}<#if ext.input??>( ${ext.input} )<#else>() \ No newline at end of file