Fixed Java 8 javadoc warnings.

Where reasonable. Generated code is untouched.