Protect against antlr4 code generation