SI-7324 jvm not cool with 255+ parameters

Fail those monster methods rather than generating bad bytecode.
Merge pull request #2426 from paulp/pr/7324

SI-7324 jvm not cool with 255+ parameters