making JavaCCLexerFactory tad more generic