Update README.md

Make the Java annotation config equivalent to the XML config

[ci skip]