cc using antlr4 and supporting java7