Add join example to grammar.java.