I am writing a program that utilizes an javaparser generated by antlr4 (4.7). In this programm i need to change the TreeAdaptor the parser is using. Everything i found in the internet tells me to use the setTreeAdaptor() function of the parser but this method doesn't exist.
Do I have to manually write this method? Do I have to configure the Antlr plugin to genereate this method within the parser or has the method been replaced?