The `static` method `antlr4` only creates `Antlr4PluginFactory` instance, so I wonder how to make it create `org.codehaus.groovy.control.ParserPluginFactory$1` instance?
public abstract class ParserPluginFactory { /** * creates the ANTLR 4 parser * @return the factory for the parser */ public static ParserPluginFactory antlr4(CompilerConfiguration compilerConfiguration) { return new Antlr4PluginFactory(compilerConfiguration); } ... } Cheers, Daniel.Sun ----- Apache Groovy committer & PMC member Blog: http://blog.sunlan.me Twitter: @daniel_sun -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html