Updated Java.g4 to work with ANTLR 4.2

Starting in ANTLR 4.2, the assoc option should be placed on the alternative itself.