Improves handling of Java methods with void return type.

I noticed that the `@return` tag was being added for Java methods that returned void but had multiple keywords, like `public static void foo()`, so I altered the regex so that it captures all of the keywords and therefore properly recognizes the void return type.