Improves handling of Java methods with void return type.

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