[BUGFIX] There is a "off-by-one" error in proxy classes
Since merging I42867963468c23a3dd11512c31ab1bff0ba3db1c the generated
proxy classes contain one line too much which results in error
messages showing the wrong line number when compared to the original
code. With this change the proxy class again resembles exactly
the original code.
Releases: master, 2.2, 2.1