Improves handling of Java methods with void return type.

Minor tweak to regex so taht the '@return' tag is not added for functions that
include multiple keywords and return void.