JavaConstructor constr;
JavaMethod method;
String str;
// Add imports
file.addImport(new JavaImport("java.io", "Reader"));
file.addImport(new JavaImport("net.percederberg.grammatica.parser",
"ParserCreationException"));
file.addImport(new JavaImport("net.percederberg.grammatica.parser",
"ProductionPattern"));
file.addImport(new JavaImport("net.percederberg.grammatica.parser",
"ProductionPatternAlternative"));
file.addImport(new JavaImport("net.percederberg.grammatica.parser",
"RecursiveDescentParser"));
file.addImport(new JavaImport("net.percederberg.grammatica.parser",
"Tokenizer"));
// Add class
file.addClass(cls);
str = TYPE_COMMENT;