Added an example of how to use Antlr with Java.

Testing Done:
Added integration test and unit test.

Bugs closed: 620

Reviewed at https://rbcommons.com/s/twitter/r/1088/
Sync of https://github.com/pantsbuild/pants/commit/8328255e832a901d88ca6a8389758430ec3ed019