Can ANTLR-generated Java classes be made non-public so they are not visible outside the package?
Location: http://www.jguru.com/faq/view.jsp?EID=226843 Created: Oct 11, 2000 Modified: 2000-10-11 15:11:49.889 Author: Terence Parr (http://www.jguru.com/guru/viewbio.jsp?EID=1) Question originally posed by Tim Kientzle (http://www.jguru.com/guru/viewbio.jsp?EID=225219 Currently (antlr 2.7.1) there is no way to prevent ANTLR from putting the “public” on the class def that I can remember. You could easily modify the source, of course, in JavaCodeGenerator.java.