pleasing the eclipse compiler
Correct parsing to take semicolons into account (https://issues.jboss.org/browse/JGRP-1569)